# bh-demos-sb2 **Repository Path**: biboheart/bh-demos-sb2 ## Basic Information - **Project Name**: bh-demos-sb2 - **Description**: spring boot 2 demos - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-16 - **Last Updated**: 2026-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### oauth-service&oauth-client #### 获取token方法 - 方法1 1. 使用以下地址获取code > http://localhost:9001/oauth/authorize?client_id=client&response_type=code&redirect_uri=http://127.0.0.1:9002/login/oauth2/authorized&scope=all&state=test 2. post访问以下地址使用authorization_code获取token > http://localhost:9001/oauth/token #### 完成的示例 - sb2->sb2 - sb2->sb4