TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Oyedepo Olufemi
1.1k
332
29.5k
JWT token is always returning a ‘401 Unathorized’
Sep 6 2019 10:16 AM
I'm building a an ASP.NET Core Web API that will consume some data entitie on Dynamics 365 F&O.
I've registered an APP on Azure and generated the neccessary credentials (client_id, client_secret, etc)
When i hit the endpoint directly from postman, this is what i get:
And when i use this access_token to make calls on the oData endpoint, i get a '200 OK' response:
Everything is fine up to this point.....
But ive wrapped the whole access token retrieval into a controller and when it hit the endpoint for this controller, i get access token...Cool!
But when i use the jwt token marked in
black
to make requests, i get a '401 unathorized' response, but despite checking from jwt.io, the token looks OK.
Someway somehow my token gets invalidated .
HAS ANYBODY FACED THIS ISSUE BEFORE???
Reply
Answers (
10
)
How to get just the date part of getdate()?
Crystal Report in vs 2010 using my sqlserver ?.