omniauth / omniauth-okta

OAuth2 strategy for Okta
MIT License
41 stars 37 forks source link

Keep refresh token #2

Closed jduff closed 5 years ago

jduff commented 6 years ago

Keep the refresh token around if it's returned. It will be in request.env['omniauth.auth']['credentials'].

Bjoernsen commented 5 years ago

@dandrews Are there any issues with this change? For us, it works as it should. We only had to extend the scope with offline_access. Or are there better ways to retrieve the refresh token? If not, would you mind to merge it?