token enpoint started to return 404
See original GitHub issueSo trying the with invalid credentials and i get all the good error codes, but submitting good credentials IIS return 404 right after the seclect application. Strange thing is that it worked like a charm
Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request starting HTTP/1.1 POST http://localhost:3174/connect2/token application/x-www-form-urlencoded 83
Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommandBuilderFactory:Information: Executed DbCommand (9ms) [Parameters=[@__identifier_0='?' (Size = 450)], CommandType='Text', CommandTimeout='30']
SELECT TOP(2) [application].[Id], [application].[ClientId], [application].[ClientSecret], [application].[DisplayName], [application].[LogoutRedirectUri], [application].[RedirectUri], [application].[Type]
FROM [OpenIddictApplications] AS [application]
WHERE [application].[ClientId] = @__identifier_0
Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request finished in 71.801ms 404
To be honest i probably f***ed up something since it did work, but i have no idea after an hour of look in to this. Let me know if you can help and you need any more info.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:24 (9 by maintainers)
Top Results From Across the Web
Spring Authorisation server returning 404 for token ...
I have enabled the debug logs and can see that the user is getting authenticated but i receive 404 for the token endpoint....
Read more >Token Endpoint Returns 404 Error with Auth Code ...
While running a Web app via command line, The following line of code returns 404 with no response body. I am exchanging an...
Read more >Tokeninfo endpoint returns 404 Not Found
When calling the /tokeninfo (Authentication API Explorer) API with a valid token, I am getting a 404 - Not Found error.
Read more >Oauth token endpoint giving 404 error - Confluence Cloud
The endpoint https://auth.atlassian.com/oauth/token is currently giving a 404 error with message “Not found.” This is the endpoint directly ...
Read more >Azure Token Endpoint Returns 404 Not Found
This is my first time integrating Azure AD and Graph API calls into a web application so I am trying to understand how...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure. If you don’t, the authorization endpoint won’t be enabled.
@t3hmun thanks for the tip. For clarity, I removed the abbreviated sample from the README: https://github.com/openiddict/openiddict-core/commit/44ee0f6ceaf21936b7f938e026ed0889bf1b5374
The “complete” sample has the right check: https://github.com/openiddict/openiddict-core/blob/dev/samples/Mvc.Server/Controllers/AuthorizationController.cs#L124-L130