Skip to content

Commit

Permalink
👌 Fix typo's and improve docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Jun 11, 2024
1 parent 78ac69e commit c254231
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions digid_eherkenning/oidc/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

def get_default_scopes_bsn():
"""
Returns the default scopes to request for OpenID Connect logins
Returns the default scopes to request for OpenID Connect logins for DigiD.
"""
return ["openid", "bsn"]


def get_default_scopes_kvk():
"""
Returns the default scopes to request for OpenID Connect logins
Returns the default scopes to request for OpenID Connect logins for eHerkenning.
"""
return ["openid", "kvk"]

Expand Down
2 changes: 1 addition & 1 deletion digid_eherkenning/oidc/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class OIDCAuthenticationCallbackView(BaseCallbackView):
Check if the 'created user' from the authentication backend needs to be logged in.
If we only want to perform the claim processing, then no real user is expected to
be returend from the authentication backend, and hence we also don't want to try
be returned from the authentication backend, and hence we also don't want to try
to log in this dummy user (as in, set ``request.user`` to a django user
instance).
Expand Down

0 comments on commit c254231

Please sign in to comment.