Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JWT Token with Issuer and Audience for One Azure Tenant Used by Another Tenant in SCIM Application #100

Open
2 tasks
Ashish0016 opened this issue Jun 19, 2024 · 0 comments

Comments

@Ashish0016
Copy link

Ashish0016 commented Jun 19, 2024

I am configuring Azure User provisioning for my .NET Core web API project. I have created a sample SCIM application and deployed it on a Windows server. A specific token is generated for the application within a particular tenant. The token has the following issuer and audience:

When I test the connection for the tenant with the corresponding URL and valid token, it works as expected. However, the problem arises when I test the connection with an application inside a different tenant. Surprisingly, the connection is still successful.
The following tenantId I have used with the application Id as mentioned below and It's working fine.
https://i.sstatic.net/AJYyfo78.png

But the problem is that it is working with another Tenant as well.
Expected result :- When I generate the token for one tenant, it should work only for the applications which exists in that tenant. Test connection should fail for other tenants if the token is not generated for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant