Skip to content

OpenIddict: multiple Orchard Core microservices and authentication flow using an SSO OpenIddict Server microservice #16698

Answered by MarGraz
MarGraz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi everyone,

In the end, we fixed the problem. It was caused by a missing Scope when we retrieved the Bearer Token in the call at point 4 (here). However, the Bearer Token for the call between Books and Users was incomplete. The missing Scope was Books_SSO 🤯.

The error "Invalid_token. The specified token cannot be used with this resource server" was not really clear in this case, maybe @kevinchalet could use a more specific error. I don't know if it's possible for you to intercept this specific case.

Thank you

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MarGraz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant