优化 sa-token-oauth2 异常细分状态码

This commit is contained in:
click33
2024-08-26 02:34:34 +08:00
parent ffd557c5d7
commit b552dd334c
16 changed files with 195 additions and 129 deletions

View File

@@ -86,7 +86,7 @@ URL 没有通过校验,拒绝授权!
- 反例:`http://sa-oauth-client.com@sa-token.cc`
*详见源码:[SaOAuth2Template.java](https://gitee.com/dromara/sa-token/blob/master/sa-token-plugin/sa-token-oauth2/src/main/java/cn/dev33/satoken/oauth2/template/SaOAuth2Template.java)
`checkRightUrl` 方法。*
`checkRedirectUri` 方法。*
2、AllowUrls 配置的地址 `*` 通配符只允许出现在字符串末尾,不允许出现在字符串中间位置。