Skip to content

Commit

Permalink
Fix breaking change in 2.10 - sub must be a string - to align with JW…
Browse files Browse the repository at this point in the history
…T spec
  • Loading branch information
jmcarson committed Nov 22, 2024
1 parent 9e0958e commit c25a2a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gregor_django/drupal_oauth_provider/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def get_mocked_response(self):
"name": "testmaster",
"email": "[email protected]",
"email_verified": "True",
"sub": 20122
"sub": "20122"
}""",
),
]
Expand Down Expand Up @@ -184,7 +184,7 @@ def get_id_token(self):
"iat": self.setup_time,
"aud": allowed_audience,
"scope": ["authenticated", "oauth_client_user"],
"sub": 20122,
"sub": "20122",
}
)

Expand Down

0 comments on commit c25a2a6

Please sign in to comment.