jwt-hmac-rsa-aspnet-core-sample
kandi X-RAY | jwt-hmac-rsa-aspnet-core-sample Summary
kandi X-RAY | jwt-hmac-rsa-aspnet-core-sample Summary
jwt-hmac-rsa-aspnet-core-sample
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 jwt-hmac-rsa-aspnet-core-sample
jwt-hmac-rsa-aspnet-core-sample Key Features
jwt-hmac-rsa-aspnet-core-sample Examples and Code Snippets
Community Discussions
Trending Discussions on jwt-hmac-rsa-aspnet-core-sample
QUESTION
There is a sample code for Jwt-Rsa-Hmac authentication on this web site with this repo.
I have been trying to convert it from Asp.Net Core 1 to Asp.Net Core 2.
I created a new Asp.Net Cor 2.1 project and after searching the changes it needed, I came up with this code.
It does create the token, but when using the token I always get 401
(unauthorized).
It's been a few days and no success...
I will be grateful if anyone could help me with this.
This is my startup class:
ANSWER
Answered 2019-May-09 at 07:41I used this setting in .netcore2.1 and work for me:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jwt-hmac-rsa-aspnet-core-sample
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