Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/http/mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function mixinHttp
getIssuerOrigin(): string {
// Infer the URL from the issuer URL, omitting the /oauth2/{authServerId}
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
return this.options.issuer!.split('/oauth2/')[0];
return this.options.issuer!.split('/').slice(0, 3).join('/');
}

webfinger(opts): Promise<object> {
Expand Down