• Miguel Buerba
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hi
I've implemented an external Open Id Connect Auth. Provider and i manage to login successfully.

Now i'm required to propagate the id_token provided by the third party IDP and I'm stuck on this demand.

I've managed to get an access token, using Auth.AuthToken.getAccessToken('AuthProviderId', 'Open ID connect'), but i need to retrieve the id_token. 

I've set the IdP to send the id_token on the refresh token response but when I use Auth.AuthToken.refreshAccessToken(AuthProviderId, 'Open ID connect', accessToken); it only returns a renewed access token but it won't return the id_token.

Is there any way to retrieve current user's id_token? If not, how can i retrieve the refresh_token? If i can get that refresh token i would be able to make a refresh_token callout without using the authtoken.refreshAccessToken method.

Thanks,

Miguel

 

Hi
I've implemented an external Open Id Connect Auth. Provider and i manage to login successfully.

Now i'm required to propagate the id_token provided by the third party IDP and I'm stuck on this demand.

I've managed to get an access token, using Auth.AuthToken.getAccessToken('AuthProviderId', 'Open ID connect'), but i need to retrieve the id_token. 

I've set the IdP to send the id_token on the refresh token response but when I use Auth.AuthToken.refreshAccessToken(AuthProviderId, 'Open ID connect', accessToken); it only returns a renewed access token but it won't return the id_token.

Is there any way to retrieve current user's id_token? If not, how can i retrieve the refresh_token? If i can get that refresh token i would be able to make a refresh_token callout without using the authtoken.refreshAccessToken method.

Thanks,

Miguel