Skip to content

Commit 178039a

Browse files
committed
Implement effective OpenID issuer, replace placeholders in issuer with JWT claims.
1 parent 47a2ab4 commit 178039a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/internet_identity/src/openid/generic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ impl OpenIdProvider for Provider {
131131
// Do NOT use claims.iss here since it could be different within the
132132
// same OpenID provider as seen in Microsoft with multiple tenants.
133133
//
134-
// The issuer returned there should therefore ALWAYS be the issuer from the config,
135-
// so that credentials are always stored with a single issuer per OpenID provider.
134+
// The issuer returned should therefore ALWAYS be the issuer from the config,
135+
// so that credentials are always stored with a single issuer per provider.
136136
iss: self.issuer.clone(),
137137
sub: claims.sub,
138138
aud: claims.aud,

0 commit comments

Comments
 (0)