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
{{ message }}
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
I have implemented the IdentityServer4 with Microsoft Identity Core. I have also created a client with Resource Owner Credentials Grant. Everything works smoothly. But the /token endpoint does not return id_token in the response.
In my research, I found an issue that indicates that id_token is not supported in the IdentityServer.
Here's the excerpt from it (IdentityServer/IdentityServer3#3621)
In version 2.6.0 id_token in response from refresh token request was added (in #3458). I think this should be at least disabled by default or removed because now it is not possible to get id token in password grant but with refresh_token grant I receive id token whether I want it or not.
I get id_token when refresh token is performed so the issue mentioned in the IdentityServer3 is still there. Below is the example of the refresh_token.
a) is part of OAuth and not OpenID Connect. Thus it does not return an identity token. You can use the userinfo endpoint with the access token to return the claims instead
Thanks @leastprivilege for the clarification. I did not find that information in the documentation. Can you link me there? I need to provide this info to my manager.
Another question. If the Resource Owner Credential Grant is deprecated then which approach should be selected for Native experience? I know you will suggest Authorization Code but it's not good UX.
Every authentication server provides native experience in their own apps for e.g. GitHub, Google, Facebook, etc.
Which authentication grant do they use or I should use?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Questions are community supported only and the authors/maintainers may or may not have time to reply. If you or your company would like commercial support, please see here for more information.
Question
I have implemented the IdentityServer4 with Microsoft Identity Core. I have also created a client with Resource Owner Credentials Grant. Everything works smoothly. But the
/token
endpoint does not return id_token in the response.Minimal working example
Startup.cs
Client provided below is set in the AddInMemoryClients() method
Below is the example of the response I receive
I do get a response from
/userinfo
endpoint.In my research, I found an issue that indicates that id_token is not supported in the IdentityServer.
Here's the excerpt from it (IdentityServer/IdentityServer3#3621)
I get
id_token
when refresh token is performed so the issue mentioned in the IdentityServer3 is still there. Below is the example of therefresh_token
.Can anyone point that in the documentation and if this is possible then help me solve it.
The text was updated successfully, but these errors were encountered: