You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm you've already contributed to this project or that you sponsor it
I confirm I'm a sponsor or a contributor
Version
4.x
Question
Hi,
I am using openiddict Password grant flow in microservice architecture (although i would like to add another client for Angular using the Auth grant). I have added a proxy layer using YARP. Currently to make the address unified i had to add a new cluster for identity server like this by changing the endpoints in identity server like: .SetTokenEndpointUris("api/identity/connect/token")
`"route4": {
"ClusterId": "identity",
"Match": {
"Path": "/api/identity/{**catch-all}"
}
"identity": {
"Destinations": {
"usermanagement1": {
"Address": "http://localhost:8060/"
}
}
}
I am able to get token using the proxy url http://172.16.1.154:8090/api/identity/connect/token
The reference token issues is available via proxy introspect but not from direct introspect i.e http://localhost:8060/
My proxy code is based on Dantooine sample
Questions:
Can i use multiple flows in same yarp currently its password grant
The dantooine redirects the page where there is direct token endpoint
Should i configure the token endpoint as a route in proxy config?
The token issued from proxy is not introspectable with direct url and vice versa
`
The text was updated successfully, but these errors were encountered:
The reference token issues is available via proxy introspect but not from direct introspect i.e http://localhost:8060/
The token issued from proxy is not introspectable with direct url and vice versa
This is most likely because the Host header differs depending on whether you access the server, which results in token issuers mismatches. #1610 and #1675 should put you on the right track.
Can i use multiple flows in same yarp currently its password grant
I don't see why you couldn't do that.
The dantooine redirects the page where there is direct token endpoint
I'm not sure I understand that question 😕
Should i configure the token endpoint as a route in proxy config?
If you have a catch-all route that applies to all your /api/identity endpoints, you don't need a specific route, as it will already be covered by the catch-all route.
Confirm you've already contributed to this project or that you sponsor it
Version
4.x
Question
Hi,
I am using openiddict Password grant flow in microservice architecture (although i would like to add another client for Angular using the Auth grant). I have added a proxy layer using YARP. Currently to make the address unified i had to add a new cluster for identity server like this by changing the endpoints in identity server like: .SetTokenEndpointUris("api/identity/connect/token")
`"route4": {
"ClusterId": "identity",
"Match": {
"Path": "/api/identity/{**catch-all}"
}
"identity": {
"Destinations": {
"usermanagement1": {
"Address": "http://localhost:8060/"
}
}
}
I am able to get token using the proxy url http://172.16.1.154:8090/api/identity/connect/token
The reference token issues is available via proxy introspect but not from direct introspect i.e http://localhost:8060/
My proxy code is based on Dantooine sample
Questions:
`
The text was updated successfully, but these errors were encountered: