Skip to content

Commit

Permalink
Configure leeway to be shorter to allow for the 60s expiration time o…
Browse files Browse the repository at this point in the history
…f ProConnect tokens
  • Loading branch information
hfroot committed Nov 26, 2024
1 parent cf65695 commit 74381f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
oauth.register(
name="proconnect",
server_metadata_url=settings.PROCONNECT_CONFIG,
client_kwargs={"scope": "openid email given_name usual_name siret"},
client_kwargs={"scope": "openid email given_name usual_name siret", "leeway": 30},
)


Expand Down

0 comments on commit 74381f4

Please sign in to comment.