auth0-samples / auth0-WinFormsWPF-oidc-samples

Auth0 OIDC Client with Windows Forms / WPF applications
MIT License
22 stars 26 forks source link

Please add how to get refresh token #12

Closed chrisrobertsoncypress closed 1 year ago

chrisrobertsoncypress commented 5 years ago

Issue Report

You have to add extraParameters.Add("scope", "openid offline_access");

before you call LoginAsync or you will get error "id token not contained in result"

Note the "openid" parameter which is not mentioned anywhere in the documentation.

frederikprijck commented 1 year ago

Sorry for not getting back to you any sooner, these things are always better reported at https://github.com/auth0/auth0-oidc-client-net, which contains the information and documentation for the SDK, beyond just the sample.

However, that doesn't justify the silence here, our sincere apologies.

Noted the feedback, and will see to add something to the docs as your feedback is still valid, even 3 years after reporting it.