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

Docs how to use keycloak with this project #131

Open
ishaan-jaff opened this issue Feb 22, 2024 · 2 comments
Open

Docs how to use keycloak with this project #131

ishaan-jaff opened this issue Feb 22, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@ishaan-jaff
Copy link

Can we get some docs on how to use keycloak with fastapi-sso. I find this project very useful and would like to use it for all sso providers

@tomasvotava
Copy link
Owner

Hi @ishaan-jaff, thanks, that's nice to hear!
I'll add this to my backlog and create an example when I get to it.

I believe it should be possible using the GenericSSO.

@tomasvotava tomasvotava added the documentation Improvements or additions to documentation label Mar 8, 2024
@blenzi
Copy link

blenzi commented Nov 15, 2024

Hello, indeed the GenericSSO example works with keycloak. However, the method convert_openid and the class OpenID do not seem suitable. I don't know if it depends on the server but what I get as fields are:

['sub', 'email_verified', 'name', 'preferred_username', 'given_name', 'locale', 'family_name', 'email']

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

No branches or pull requests

3 participants