Skip to content
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

OAuth2 with PKCE x Astro -> Does someone has tried it ? #1495

Open
DaSilvaRemi opened this issue Jan 17, 2025 · 1 comment
Open

OAuth2 with PKCE x Astro -> Does someone has tried it ? #1495

DaSilvaRemi opened this issue Jan 17, 2025 · 1 comment

Comments

@DaSilvaRemi
Copy link

Hi everybody,

I want to implement this library to connect to a Keycloack OIDC provider implementing OAuth2 with PKCE (redirect uri etc) by using OidcServiceWorker and OidcTrustedDomain (js file with all truted providers)

Nethertheless I have a lot of trouble to implement it with Astro JS and I want to know if someone have alreary implement it and can give me advices or example. Maybe its not the right lib IDK.

Best regards

@DaSilvaRemi DaSilvaRemi changed the title OAuth2 with PKCE x Astro -> Does someona has tried it ? OAuth2 with PKCE x Astro -> Does someone has tried it ? Jan 17, 2025
@guillaume-chervet
Copy link
Contributor

Hi @DaSilvaRemi , thank you for your issue.
I did not know about astro. I will look at.
With oidc client everything is done at client side.
Redirect should be handle by the server to run back the javascript client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants