-
Notifications
You must be signed in to change notification settings - Fork 16
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
API Response 401 #8
Comments
I've just run into this issue myself. Will let you know when it's fixed. |
@capesean, thanks in advance. Any assumptions in the moment? |
@SkyQuant It's an issue on another repo, see here: This being the actual issue: |
If I wanted to run the openiddict for jwt in production, is there a way to ensure that it doesn't get broken like this? |
@shima20 you'd need to pin your versions in project.json. i.e. instead of using versions like |
@capesean good to know thanks! is there any way to tell which version is a good working version before this bug? |
@shima20 you'll have to work that out for yourself, I'm afraid. I haven't been keeping track. It's a little tricky because you also have to pin the dependencies, i.e. the other packages that OpenIddict relies on also have to be pinned. |
FYI, the "missing signature" bug should be fixed soon by @brentschmaltz (who works for the MSFT Azure AD team, in charge of the JWT library OpenIddict relies on): AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#364 |
@PinpointTownes Should be in today, sorry for the hassle. |
good to hear @brentschmaltz , looking forward to the fix! |
@brentschmaltz you're welcome! Thanks for the quick fix 👏 |
@brentschmaltz is there anything i need to do now? i tried again this morning and im still getting the same issue. |
@PinpointTownes guess we are still waiting for it to be updated? |
The aspnet-contrib feed is now mirroring the Azure AD feed and ASOS was just updated to use the latest IdentityModel packages: aspnet-contrib/AspNet.Security.OpenIdConnect.Server@e3a8781. The JWT issue you're seeing should disappear when updating your packages. |
Thank you! It is in fact working again. |
I fetched token which is also saved in local storage, but can't authorize for API call. Suppose I have to manually realize auth logic writing something to Startup.cs?
The text was updated successfully, but these errors were encountered: