You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using Authentik as my identity provider, and can see that when I click login, it is in fact redirecting to Authentik and authenticating. However, it then redirects back to my app like its supposed to, but it doesn't retain state: it forgets it just authenticated. I feel like its reloading the SPA and in doing so is losing knowledge of the access token etc that it just got back from Authentik? It then tries to do it again, causing it to loop indefinitely, authenticating successfully each time and promptly forgetting it did so every time as well. Very confused.
Credit to https://www.youtube.com/watch?v=QV5YtczsorY for getting me this far. This seems like it should work. I feel like I must be missing something pretty simple but I can't figure out what it is.
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm using Authentik as my identity provider, and can see that when I click login, it is in fact redirecting to Authentik and authenticating. However, it then redirects back to my app like its supposed to, but it doesn't retain state: it forgets it just authenticated. I feel like its reloading the SPA and in doing so is losing knowledge of the access token etc that it just got back from Authentik? It then tries to do it again, causing it to loop indefinitely, authenticating successfully each time and promptly forgetting it did so every time as well. Very confused.
AuthConfig:
Constructor of a service that is injected into my component:
Credit to https://www.youtube.com/watch?v=QV5YtczsorY for getting me this far. This seems like it should work. I feel like I must be missing something pretty simple but I can't figure out what it is.
The text was updated successfully, but these errors were encountered: