-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetAccessToken prompting sign in pop up again #757
Comments
I am seeing the same issue -- it is essentially forcing the user to sign in twice. I am unable to invoke |
I have this problem as well |
Same here. |
same here |
Any solution for this issue? |
Same here, Angular 17. Quote from the docs:
|
Same, Angular 18. So there's no way around making this a smoother experience? |
I've solved my problem by moving to this library. It works great. |
how do you enable automatic login with it though? |
I don't really know because I didn't need that feature. It should be possible, at least judging by the last bullet point in this list. |
I'm trying to integrate sign in with gmail in angular 16 app, and able to get the userInfo using
this.authService.authState.subscribe((user) => { this.user = user; this.loggedIn = (user != null); });
but I need accessToken to pass to resource server and login pop up is prompting again if i try to retrieve access token using
getAccessToken(): void { this.authService.getAccessToken(GoogleLoginProvider.PROVIDER_ID).then(accessToken => this.accessToken = accessToken); }
Is there a way i can retrieve accessToken without 2 prompts for id token and access tokoen
The text was updated successfully, but these errors were encountered: