Skip to content

Google OAuth: Refresh token not present in token response  #33

@anto-pt

Description

@anto-pt

Hi @maxmantz

I have already implemented Keycloak with redux-oidc. It works really well.
Now I'm trying with Google OAuth. I'm facing the following issues

  1. Refresh token is not present in token response.
    Google docs suggests to pass access_type=offline to get the refresh token. When I tried to pass that in userManagerConfig it's not passing as a param in token endpoint. Seems it's not a configurable thing in redux-oidc library as I checked the lib classes.
    How to get the refresh token with Google OAuth in token response?

Someone suggest to pass offline_access in scope. But it's not a supported scope in Google. Any help would be appreciated.

  1. Google OAuth expecting client_secret to get the token response along with authority and client_id. But I don't see that in your example. Not sure how that works for you.

  2. Access token couldn't be used for getting resource from API since it's not a JWT token. I can able use only id_token. Is this okay?

  3. End_session_endpoint is not available in Google OAuth well known configurations. So I'm getting end session endpoint missing error while logout.

Appreciate your inputs on this. Mainly I need inputs on [1] Refresh token from Google

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions