-
Hello, I have developed few applications where each Application is mapped to FusionAuth application for Authentication and Authorization. All these applications are within the same Tenant. I am using Authorization code flow in all my applications, which will fetch access and refresh tokens separately for each application.
I wanted to know if there is a way in the backend to communicate between these applications using the same access token. I have come across the issuing a JWT of other applications(https://fusionauth.io/docs/v1/tech/apis/jwt#issue-a-jwt) using an ApplicationID, but this will have latency issues for me as I have to find the ApplicationID and make request to the AuthServer and get the token. I want to communicate with all my application using a single token. Is that possible with FusionAuth right now?
-
@suryateja-a16-0 You should be able to add multiple applications to your access token using a JWT populate lambda: https://fusionauth.io/docs/v1/tech/lambdas/jwt-populate
You can examine the user and see all the applications to which they are registered and add those all to the
audclaim.Hope that helps.
-
D dan moved this topic from Q&A on
-
D dan moved this topic from Frequently Asked Questions (FAQ) on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login