File tree Expand file tree Collapse file tree
03-Calling-an-API/src/Auth
04-Authorization/src/Auth
05-Token-Renewal/src/Auth Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export default class Auth {
8585 localStorage . removeItem ( 'isLoggedIn' ) ;
8686
8787 this . auth0 . logout ( {
88- return_to : window . location . origin
88+ returnTo : window . location . origin
8989 } ) ;
9090
9191 // navigate to the home route
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export default class Auth {
9999 localStorage . removeItem ( 'isLoggedIn' ) ;
100100
101101 this . auth0 . logout ( {
102- return_to : window . location . origin
102+ returnTo : window . location . origin
103103 } ) ;
104104
105105 // navigate to the home route
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export default class Auth {
100100 localStorage . removeItem ( 'isLoggedIn' ) ;
101101
102102 this . auth0 . logout ( {
103- return_to : window . location . origin
103+ returnTo : window . location . origin
104104 } ) ;
105105
106106 // navigate to the home route
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export default class Auth {
109109 localStorage . removeItem ( 'isLoggedIn' ) ;
110110
111111 this . auth0 . logout ( {
112- return_to : window . location . origin
112+ returnTo : window . location . origin
113113 } ) ;
114114
115115 // navigate to the home route
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export default class Auth {
108108 localStorage . removeItem ( 'isLoggedIn' ) ;
109109
110110 this . auth0 . logout ( {
111- return_to : window . location . origin
111+ returnTo : window . location . origin
112112 } ) ;
113113
114114 // navigate to the home route
You can’t perform that action at this time.
0 commit comments