You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is not mentioned what happens under the hood and, if you are not a very skilled developer already familiar with Oauth2/OIDC you can misunderstand and think that the comment > "// generate start URL, state, nonce, code challenge" means a generation done offline and done in your device (or any other fancy client).
Then, if you call the method "await client.PrepareLoginAsync();" without a proper internet connection in a try catch you see the error in the screenshot that basically explain what happens under the hood.
Can we mention in the comment above the method that the discovery endpoint is called under the hood? It's very important because as I said, especially if you are not familiar you can misunderstand that these parameters are generated locally or on the backend side you don't know what is called and why maybe is not working.
Thank you in advance!
The text was updated successfully, but these errors were encountered:
Hello!
Me and my teams were debugging an issue and we ended up in reviewing this page: https://github.com/IdentityModel/Documentation/blob/main/docs/native/manual.rst
Is not mentioned what happens under the hood and, if you are not a very skilled developer already familiar with Oauth2/OIDC you can misunderstand and think that the comment > "// generate start URL, state, nonce, code challenge" means a generation done offline and done in your device (or any other fancy client).
Then, if you call the method "await client.PrepareLoginAsync();" without a proper internet connection in a try catch you see the error in the screenshot that basically explain what happens under the hood.
Can we mention in the comment above the method that the discovery endpoint is called under the hood? It's very important because as I said, especially if you are not familiar you can misunderstand that these parameters are generated locally or on the backend side you don't know what is called and why maybe is not working.
Thank you in advance!
The text was updated successfully, but these errors were encountered: