修复登录问题,sidebar修复用户角色的问题
This commit is contained in:
@@ -72,6 +72,7 @@ export class OAuthClient {
|
||||
* @returns 访问令牌响应
|
||||
*/
|
||||
async getAccessToken(code: string): Promise<TokenResponse | null> {
|
||||
console.log('this.config.serverUrl', this.config.serverUrl);
|
||||
const url = `${this.config.serverUrl}/oauth/token`;
|
||||
const data = new URLSearchParams({
|
||||
grant_type: 'authorization_code',
|
||||
|
||||
Reference in New Issue
Block a user