Hello Team, How to extract value from mutator jwt...
# talk-oathkeeper
c
Hello Team, How to extract value from mutator jwt token in backend ? How to use this "http://oathkeeper:4456/.well-known/jwks.json" ? Thank
m
Hello @creamy-horse-34159 See the gpt answer here and let me know if that answers your question 😄 https://ory-community.slack.com/archives/C0522079BS5/p1682510115958229?thread_ts=1682510030.507739&cid=C0522079BS5
c
Getting error message every time : Token validation failed: JsonWebTokenError: invalid token
Working fine now.
m
@creamy-horse-34159 What was the issue and how did you fix it?
c
Resolve by this line - req?.headers?.authorization.split(' ')[1];