Skip to content

Commit

Permalink
GH-96: Configure OIDC for production
Browse files Browse the repository at this point in the history
  • Loading branch information
markhobson committed May 21, 2024
1 parent d6f6f7d commit 3cb9220
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions schemes/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ class TestConfig(Config):

class ProdConfig(Config):
# GOV.UK One Login
# TODO: GH-95: Set client id when provided by GOV.UK One Login
GOVUK_CLIENT_ID = "XXX"
GOVUK_SERVER_METADATA_URL = "https://oidc.account.gov.uk/.well-known/openid-configuration"
GOVUK_TOKEN_ENDPOINT = "https://oidc.account.gov.uk/token"
GOVUK_PROFILE_URL = "https://home.account.gov.uk/"
GOVUK_END_SESSION_ENDPOINT = "https://oidc.account.gov.uk/logout"
GOVUK_CLIENT_ID = "S1hl5G31dSsMYqPaOuiRVOLhBX0"

0 comments on commit 3cb9220

Please sign in to comment.