Some time ago I set up an application with B2C auth. It's been in use in production for a few years now, and clearly I've forgotten how I initially set it up...
We've started getting 400 cookie too large problems, and as a result, I went to switch it from login.microsoftonline.com
to {tenant}.b2clogin.com
.
Of course, in order to do that, I have to register that as an acceptable redirect_uri
with all of the identity providers.
Which I was able to do for most of the providers, but...
The client ID configured for the Microsoft Account provider does not match the Application ID of any App Registrations in this directory (nor any other I have access to, for that matter). So I can't figure out where it is and how to switch it.
Mind you, I'm the one who set this up in the first place, and I am Administrator on the tenant, so I don't see how it could be something that I just don't have access to anymore or anything like that...
There are 3 app registrations that exist, one for each environment, none of which are the one providing the Microsoft Account access.
Each of them had the return URLs for the actual application, which I would expect, and didn't say anything about login.microsoftonline.com
. I added the {tenant}.b2clogin.com
address just to see if it would resolve my invalid redirect_uri
error message, but of course it didn't, because clearly this is the wrong place to be adding it...
At this point I would just add a new App Registration and switch it over, but I'm nervous to do so because I can't see the configuration of the existing one. And if something goes wrong, I can't switch it back to the mystery Client ID, either, because I don't have the Client Secret.
I'm sure I'm just thinking about something backwards and someone will be able to immediately shed some light on this?