-
In a previous question i mentioned that we use the "OAuth 2.0 Token Exchange" standard on other auth servers to exchange a token issued by janssen with a token from another authentication server. However it turned out that in the future (not now) we need to do this on the Jannsen server as well. If my scanning of the documentation did not fail me Janssen does not support the RFC 8693 - OAuth 2.0 Token Exchange standard. If not I propably need to missuse the authentication mechanism to implement the token exchange, but I would prefer to use/implement something standard complient. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Hey @tawaren The good news is that the Janssen Server supports token exchange(RFC 8693). But as you have rightly mentioned, the documentation is lagging and being tracked with this issue. I would loop-in @yuriyz to comment on support for extension grants. |
Beta Was this translation helpful? Give feedback.
-
I think you could use the UpdateToken script to customize the business logic for token exchange. |
Beta Was this translation helpful? Give feedback.
-
It would be nice if during the client credential authn flow, there was a script that could make available the body of the post, a header, or an extra-parameter. But I see we don't have an interception script for client authn... but maybe we should ? |
Beta Was this translation helpful? Give feedback.
I guess it's already possible with authentication custom script but add special "usage_type" configuration with type "service" (or "both") which makes it invoking during client authentication as well.
I think it was added in very early oxauth version and as far as I can see is present in jans as well. However I can't find any samples in repo.
Maybe @yurem have some samples.