mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-24 12:04:57 +01:00
Handle case of issuer field not ending with /
This commit is contained in:
parent
da922220e2
commit
83843f62b1
@ -90,7 +90,7 @@ export class OidcApi {
|
||||
}
|
||||
|
||||
get metadataUrl() {
|
||||
return new URL(WELL_KNOWN, this._issuer).toString();
|
||||
return new URL(WELL_KNOWN, `${this._issuer}${this._issuer.endsWith('/') ? '' : '/'}`).toString();
|
||||
}
|
||||
|
||||
get issuer() {
|
||||
|
Loading…
Reference in New Issue
Block a user