Skip to content

Commit

Permalink
Use the entire uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
mnitchie committed Dec 17, 2020
1 parent 72b1453 commit 54b9a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fhirclient/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def _authorize_params(self, server):
if server is None:
raise Exception("Cannot create an authorize-uri without server instance")
if self.auth_state is None:
self.auth_state = uuid.uuid4().hex[:24]
self.auth_state = str(uuid.uuid4())
server.should_save_state()

params = {
Expand Down

0 comments on commit 54b9a9b

Please sign in to comment.