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

Try to support google identity #4

Merged
merged 4 commits into from
Nov 21, 2024
Merged

Conversation

gberaudo
Copy link
Contributor

No description provided.

We have tested so far with keycloak.

Google identity have extra options. For example,
- it will not return you a refresh_token unless you pass an access_type=offline parameter to the auth request.
- it requires a clientSecret, ... not very reasonable for a frontend app;
- it does not support PKCE, so no extra security;
- it does not have the roles claim;
- it does not return a JWT token for the access_token but an opaque string;
- it only returns a refresh token when sending some special parameter,
  and the received token is opaque.

Due to the opaqueness of these tokens I changed the way the expiration is checked.
@gberaudo gberaudo force-pushed the try_to_support_google_identity branch from 95885b1 to cc61502 Compare November 13, 2024 09:27
@gberaudo gberaudo force-pushed the try_to_support_google_identity branch from 1414dee to 7a70ee7 Compare November 21, 2024 11:10
@gberaudo gberaudo merged commit 680f42e into master Nov 21, 2024
1 check passed
@gberaudo gberaudo deleted the try_to_support_google_identity branch November 21, 2024 11:11
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

Successfully merging this pull request may close these issues.

1 participant