thanks.
Machine A get token from AuthorizationServer, and try to send a request to machine B , how Machine B should connect to AuthorizationServer and validate the incoming token ?!
both Machine A and Machine B are Asp.Net Core app
Hi Reza,
That process is called introspection, where machine B asks the Authorization Server to validate the token.
First you need to set the introspection endpoint when setting up the Authorization Server:
options .SetIntrospectionEndpointUris("/connect/introspect");
You also need to give permission to Machine B (client) to use the introspection endpoint:
Permissions = { OpenIddictConstants.Permissions.Endpoints.Introspection }
Regards, Robin
thanks
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
thanks.
Machine A get token from AuthorizationServer, and try to send a request to machine B , how Machine B should connect to AuthorizationServer and validate the incoming token ?!
both Machine A and Machine B are Asp.Net Core app
Hi Reza,
That process is called introspection, where machine B asks the Authorization Server to validate the token.
First you need to set the introspection endpoint when setting up the Authorization Server:
You also need to give permission to Machine B (client) to use the introspection endpoint:
Regards,
Robin
thanks