# security-oauth **Repository Path**: watcherman/security-oauth ## Basic Information - **Project Name**: security-oauth - **Description**: spring security 整合oauth - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-08 - **Last Updated**: 2023-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # security-oauth #### 介绍 spring security 整合oauth #### 软件架构 软件架构说明 #### 使用说明 1. 启动项目 2. oauth的各个模式访问如下 简化模式 http://localhost:9003/oauth/authorize?response_type=token&client_id=admin&redirect_uri=https://www.baidu.com 授权码模式 http://localhost:9003/oauth/authorize?response_type=code&client_id=admin&redirect_uri=https://www.baidu.com https://www.baidu.com/?code=ppcUwX 授权码:ppcUwX http://localhost:9003/oauth/token?grant_type=authorization_code&client_id=admin&redirect_uri=https://www.baidu.com&code=ppcUwX&client_secret=admin 客户端模式 http://localhost:9003/oauth/token?grant_type=client_credentials&client_id=admin&client_secret=admin 密码模式 http://localhost:9003/oauth/token?grant_type=password&client_id=admin&client_secret=admin&username=admin&password=admin