fix and update
This commit is contained in:
@@ -316,6 +316,10 @@ export class OAuthCoreService {
|
||||
return { clientId: client.clientId, name: client.name };
|
||||
}
|
||||
|
||||
async issueFedcmTokens(userId: string, clientId: string, scopes: string[]) {
|
||||
return this.issueOAuthTokens(userId, clientId, scopes);
|
||||
}
|
||||
|
||||
private parseScopeSlugs(scope: string) {
|
||||
return [...new Set(scope.split(/\s+/).map((item) => item.trim()).filter(Boolean))];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user