-
Notifications
You must be signed in to change notification settings - Fork 66
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
B2C token does not contain tid
in the token
#87
Comments
Hi. Weird, I thought it would 🤔 @robteeuwen, could you confirm? |
We just implement B2C and tid is there. |
Thank you! I assume something else is up, I've never heard of the I'd love if someone would contribute with a B2C tutorial, since it's hard to troubleshoot these things without a "best practice base". |
This is interesting, because everything seems to be working on my side, besides this. My setup is basically the same as the Single Tenant one, but:
and I've picked this option when setting up app registrations: |
Sure @JonasKs I will try to add a tutorial this week! |
That would be awesome! 👏 👏 I am on summer vacation from the 9th, so if you're able to make a PR before then I'll be able to give feedback pretty much immediately 😊 |
I've never used Azure B2C, but I suspect the lack of I'm happy to accept a PR where the |
We also using B2C tenant and tid is there. From my point of view, this is a configuration problem in Azure. |
I've investigated a bit, and it looks like it's normal for B2C to miss tid:
also:
https://stackoverflow.com/questions/55978290/azure-b2c-access-token-missing-tenantid There seem to be workarounds for this, but I think it would be best if the lib worked without those. |
This is still strange for me because in our case we don't have any problems with |
I'll have a look, but the difference is I'm not using multi-tenant, so I think that would explain the difference. I think the posts I linked clearly show, that |
Still, it's really cool that you contributed, @kristiqntashev! I'll try to have a look at it this week, thanks! |
That's possible! We only try with Multitenant! |
I'm happy to accept a PR where |
I'll try to sit on this tomorrow. |
Ping me if you want we can work together. Happy to help! |
@kristiqntashev, sorry, I was busy and got to do this a bit late. Thanks for the offer, anyway! |
I've managed to set up B2C, but it doesn't seem to return tid in the token. Everything else is working.
I'm not sure how to confirm if everything is working well (I might have to contact microsoft), but if B2C doesn't return tid, would it make sense to make it optional in the User model?
The text was updated successfully, but these errors were encountered: