Hi,
OK i have updated and redeployed. I ran this in dev and I can see the logging you are trying to do, but there are no values for the Bearer Token or Issuer. Could that be it?
I still don't see anything in the deployed API logs, maybe you can see something, I have emailed both the DEV and STAGING API logs to you.
Thanks,
Karim
Hi,
OK I had some difficulty with GitHub Actions there, took me some time to get deployed to staging but I have merged the code you added into Staging, redeployed and have emailed you all 3 DEBUG logs now.
For some reason though, I don't see any of the JWTBearerOptions logging in the staging logs, similar to last time. And I cleaned out and reran this twice. However on dev I do see the logging:
Thanks,
Karim
Hi,
I have just given you access, thanks.
Hi,
I just emailed the log files for all 3 services.
Thanks,
Karim
Still can't see this in the Staging logs on Azure, but I can see the log entry it in Dev now, but getting a Bearer was not Authenticated message and no token:
However I do seem to be logged in, at least I can do admin things. However the Admin Profile menu isn't there. This is basically the initial question!
So I am assuming even if the logging was working on Staging that the same Bearer was not Authenticated result that I am getting in dev.
Hi,
I added the code, but didn't get anything logged. Can you confirm that I have put this in the right place? I am in my APIHost project, in the OnApplicationInitialization method:
added to the end:
Ran the project, went through the normal steps, logged in, looked at the profile, got a 401 Unauthorized. So I am assuming it should have logged the token ?
Thanks,
Karim
Hi yeah I just emailed them, thanks.
Ok, just emailed them to you, thanks.