OAuth2 Workflow - oauth2-redirect.html not found
See original GitHub issueDuring Implementing an OAuth2 Workflow for the api documentation i’m getting the issue that the redirect page can’t be found. E.g. for local running function http://localhost:7071/oauth2-redirect.html can’t be found (404) after successful authentication.
My OpenApiOAuthSecurityFlows looks like this:
class TestOAuth2 : OpenApiOAuthSecurityFlows
{
public TestOAuth2 ()
{
this.Implicit = new OpenApiOAuthFlow()
{
AuthorizationUrl = new Uri("https://xxxx.b2clogin.com/xxxx.onmicrosoft.com/oauth2/v2.0/authorize?p=workflow_id"),
Scopes = { { "https://xxxx.onmicrosoft.com/xxxx-xxx/API.User", "API Access" } },
TokenUrl = new Uri("https://xxxx.b2clogin.com/xxxx.onmicrosoft.com/oauth2/v2.0/token?p=workflow_id")
};
}
}
Am i missing some configuration for the redirect page?
Issue Analytics
- State:
- Created 3 years ago
- Comments:23 (16 by maintainers)
Top Results From Across the Web
oauth2-redirect.html missing · Issue #1969 · swagger-api ...
This fails with a 404 because /oauth2-redirect.html is missing. ... /oauth2-redirect.html exists and the authorization code flow succeeds.
Read more >Micronaut Swagger redirect not working with OAuth 2 ...
I am using swagger open API 3 in the Micronaut application with Authorization + PKCE flow as below. enter image description here
Read more >The connection test of the OAuth 2.0 integration fails with ...
In Jira, go to ⚙ > System > OAuth 2.0, and change the 2 fields Authorization endpoint and Token endpoint in the OAuth...
Read more >Using OAuth 2.0 for Web Server Applications | Authorization
This OAuth 2.0 flow is specifically for user authorization. It is designed for applications that can store confidential information and maintain state.
Read more >The Authorization Response - OAuth 2.0 Simplified
From the authorization server's point of view, at the point it creates the access token and sends the HTTP redirect, it has no...
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
@justinyoo Thanks a lot! I tested it and now OAuth is working as expected!
@Derich367 @svrooij v0.5.1-preview has been released including this hotfix.