question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

token enpoint started to return 404

See original GitHub issue

So 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:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:24 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
kevinchaletcommented, Aug 30, 2016

One question, do I still need to add the call EnableAuthorizationEndpoint(“/connect/authorize”) even if I implemented my own endpoint?

Sure. If you don’t, the authorization endpoint won’t be enabled.

1reaction
kevinchaletcommented, Oct 18, 2016
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found