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
a5ef671f46
commit
778900d0b2
@ -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