Allow deep customize for nonstandard OAuth 2.0 provider.
See original GitHub issueI’ve reported spring-security
related issue in the wrong place (in spring-boot
project).
The link of that issue I wanted to report: https://github.com/spring-projects/spring-boot/issues/17148
I have pointed out that wechat not only the authentication URL does not follow the specification, but other aspects also not follow, however, I can customize them without javassist
.
In my opinion, do not need to support the nonstandard OAuth 2.0 providers, but make the code more flexible to allow the developers can deep customize them.
The spring security version I’m using is 5.1.5.RELEASE.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
[Enhancement] Allow deep customize for nonstandard OAuth ...
Recently, I have tried to make my application as wechat OAuth 2.0 client like GitHub, Google, etc. But the wechat not strict follows...
Read more >Microsoft identity platform and OAuth 2.0 authorization code flow
The OAuth 2.0 authorization code grant type, or auth code flow, enables a client application to obtain authorized access to protected ...
Read more >RFC 6749: The OAuth 2.0 Authorization Framework
The authorization server MAY accept any form of client authentication meeting its security requirements. Confidential clients are typically issued (or ...
Read more >OAuth 2 Session — Authlib 1.2.0 documentation
This documentation covers the common design of a Python OAuth 2.0 client. Authlib provides three implementations of OAuth 2.0 client: requests_client.
Read more >What the Heck is OAuth? - Okta Developer
OAuth 2.0 is a standard that apps can use to provide client applications with secure delegated access. OAuth works over HTTPS and authorizes ......
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 Free
Top 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
@zhangyanwei No worries. We do want to ensure that our API’s provide flexibility for customizations even when the provider doesn’t comply with the related specifications. So please do let us know if you run into a situation where there isn’t an option to customize and we’ll do our best to accommodate.
@zhangyanwei
The documentation shows how you can build the full URL for
authorizationRequestUri
:The code snippet above shows this. You have full control on building the custom URL
customAuthorizationRequestUri
and than setting it inOAuth2AuthorizationRequest.Builder.authorizationRequestUri
.