Skip to content

Commit

Permalink
Merge branch 'master' into PS-bump-sf6
Browse files Browse the repository at this point in the history
# Conflicts:
#	expose/client/src/component/App.tsx
#	expose/client/src/component/OAuthRedirect.js
  • Loading branch information
4rthem committed Nov 6, 2023
2 parents a6dd7a5 + f04b690 commit 25b2e92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion expose/client/src/component/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export default function App({}: Props) {
}, []);

React.useEffect(() => {
authenticate();
if (oauthClient.getAccessToken()) {
authenticate();
}
oauthClient.registerListener('login', onLogin);
oauthClient.registerListener('logout', onLogout);

Expand Down

0 comments on commit 25b2e92

Please sign in to comment.