We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
15.0.5
No response
Cannot destructure property 'isAuthenticated' of 'object null' as it is null.
this.oidcSecurityService.checkAuthIncludingServer().subscribe(({ isAuthenticated }) => {}))
### A clear and concise description of what you expected to happen. ```true checkAuthIncludingServer should always return a `LoginResponse`
angular-auth-oidc-client/projects/angular-auth-oidc-client/src/lib/auth-state/check-auth.service.ts
Lines 101 to 124 in d4932af
loginResponseAfterRefreshSession as can be seen can be null as forceRefreshSession can return null.
loginResponseAfterRefreshSession
forceRefreshSession
angular-auth-oidc-client/projects/angular-auth-oidc-client/src/lib/callback/refresh-session.service.ts
Line 113 in d4932af
Either change the type to take that into account. or make forceRefreshSession return a LoginResponse with authenticated = false
LoginResponse
The text was updated successfully, but these errors were encountered:
You rock thanks
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Version
15.0.5
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Steps to reproduce the behavior
Additional context
angular-auth-oidc-client/projects/angular-auth-oidc-client/src/lib/auth-state/check-auth.service.ts
Lines 101 to 124 in d4932af
loginResponseAfterRefreshSession
as can be seen can be null asforceRefreshSession
can return null.angular-auth-oidc-client/projects/angular-auth-oidc-client/src/lib/callback/refresh-session.service.ts
Line 113 in d4932af
Either change the type to take that into account. or make forceRefreshSession return a
LoginResponse
with authenticated = falseThe text was updated successfully, but these errors were encountered: