How to do OIDC authentication
How can I add OIDC authentication to my solid (solid-start) frontend, I have a keycloak instance configured and working. I want to redirect unauthenticated users to the keycloak instance (the thing where they have to authenticate) and then get the JWT and uee that in requests
6 Replies
I just found @absolid/solid-keycloak is this still maintained?
hey @@ did you find any solution? Looking for it right now :fabio:
Iirc I hacked together something with oidc-client-ts
GitHub
GitHub - authts/oidc-client-ts: OpenID Connect (OIDC) and OAuth2 pr...
OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications - authts/oidc-client-ts
thanks, did you manage to handle the auth state on server side? Like when user makes the initial request to the server? I'm thinking through it right now, but it's quite hard with the default
keycloak-js
libI didn't use solid start, just client side vite