-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Using Authentik for auth ?? #1522
Comments
Hi @ThierryIT , it probably could be. It tools is a client side only app with really no backend. I'm curious to know why will oauth2 be useful ? |
@ThierryIT i'm running it fine with authentik. whats the error or situation you're seeing? in my experience though it-tools has a lot of built in caching so you'll need to clear cache and hard reload when you're authenkating (pun intended) so that the url params are actually passed down to authentik wrote up something about the "expired auth cached state" here: |
Hi @gitmotion , but you patched something some were ? (in case, I will apply to my fork to) |
hey! yeahh i think i remember that one but i closed that pr. i was trying to add the package as a direct import but i believe the real problem is actually how the caching works on IT tools. probably returns a 200 response and doesn't redirect to complete the authentik authentication. so without the authentication from authentik the tool isn't able to load because it's forbidden to access assets at that point which it laid out the workaround in my comment in #1291 so it's with the caching - pros and cons though, not really a problem. personally i like the caching just doesn't play well with authentik some ideas of possible solutions:
|
Hi @gitmotion , ok so nothing to integrate in code to make "relation" with authentik ? may be make a build option for pwa with no cache... |
ooh haven't had time to look at it but that makes sense that it could be related to the pwa cache i can take another look at it soon but i guess it theoretically could be no cache/forwarding or a mix 👍🏼 |
What type of request is this?
Self-hosting improvement
Clear and concise description of the feature you are proposing
Hello,
Is it possible to be authenticated by a 3rd party apps like Authentik when using it-tools ?
Thx
Is their example of this tool in the wild?
Code-server, Gotify, Uptime-Kuma are all working when using Authentik (have to remove the auth)
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: