-
Notifications
You must be signed in to change notification settings - Fork 120
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
v92: SessionState and oAuth (session-state.ts) #130
Comments
Hi @juancarloscamargo - coming from the developer who worked on this feature: The sessionstate represents the session regardless of how the user authenticated, including OAuth-based flows. Our components rely on the session state to detect if the user is logged in, and you should be seeing the same state. |
Hi @Mathnstein , I was trying to figure out how the user authenticated and apply some actions accordingly. That's why I was working with the SessionState class, which implements ISessionState , this one having the following definition: export interface ISessionState { , but found that the isOauth value is not being populated. |
Hi,
Is sessionstate (ISessionState.isOAuth) oAuth status being populated? I'm getting a value of undefined everytime I check it , even with I'm logged in with that auth method. It seems there is no handling of that value within the class:
(...)
export class SessionState implements ISessionState {
(...)
The text was updated successfully, but these errors were encountered: