Skip to content

Commit a0b072a

Browse files
authored
Restore potential typo in unrelated code (to simplify PR diff)
1 parent 17b5ec0 commit a0b072a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nmdc_server/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ async def oidc_login(body: OidcLoginRequestBody, db: Session = Depends(get_db)):
305305
306306
The endpoint can be used as an alternative to the flow initiated by the /auth/login route. If a
307307
client has already obtained an OpenID Connect token from ORCID, they can exchange it for a
308-
nmdc-server token using this route. The OIDC token is decoded and validated by looking for
308+
nmdc-server tokens using this route. The OIDC token is decoded and validated by looking for
309309
ORCID as the issuer and the nmdc-server client ID as the audience. If the token is valid, the
310310
claims in the token are used to create or update a user in the database. Finally, new tokens are
311311
generated for the user.

0 commit comments

Comments
 (0)