IdentityServer3.Samples | Samples for IdentityServer v3 | OAuth library
kandi X-RAY | IdentityServer3.Samples Summary
kandi X-RAY | IdentityServer3.Samples Summary
Samples for IdentityServer v3
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of IdentityServer3.Samples
IdentityServer3.Samples Key Features
IdentityServer3.Samples Examples and Code Snippets
Community Discussions
Trending Discussions on IdentityServer3.Samples
QUESTION
I have setup Identity Server 4 locally and added an MVC Net Core client with no problems.
I cannot get my .Net Framework Web Forms app to work though.
When I try to hit the About (Secure page) .aspx page I get the below error:
"Sorry, there was an error : unauthorized_client
Invalid grant type for client"
I have tried all the various Granttypes without success.
I feel like my Client setup in ID4 is incorrect. Various blog posts say I should use the Code grant but then others say use id_token.
I have setup the Client as follows in the ID4 server app:
...ANSWER
Answered 2021-Apr-22 at 06:46"id_token token" is Implicit flow, so you need to include that in your AllowedGrantTypes
.
Re the UserInfo endpoint, it just returns claims about the user, based on the access token you call it with. Getting a 401 response probably means you aren't passing a valid access token. It can be useful if you need additional user claims and you only have an access token but not an ID token.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install IdentityServer3.Samples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page