mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-20 03:19:24 +02:00
Fix linting errors
This commit is contained in:
parent
0edd42dac7
commit
b8fc81a7e4
4 changed files with 3 additions and 5 deletions
|
@ -404,9 +404,7 @@ OIDC_PROVIDERS = {
|
|||
"client_registration": {
|
||||
"client_id": "cisa_dotgov_registrar",
|
||||
"redirect_uris": [f"{env_base_url}/openid/callback/login/"],
|
||||
"post_logout_redirect_uris": [
|
||||
f"{env_base_url}/openid/callback/logout/"
|
||||
],
|
||||
"post_logout_redirect_uris": [f"{env_base_url}/openid/callback/logout/"],
|
||||
"token_endpoint_auth_method": ["private_key_jwt"],
|
||||
"sp_private_key": secret_login_key,
|
||||
},
|
||||
|
|
|
@ -12,6 +12,7 @@ def language_code(request):
|
|||
"""
|
||||
return {"LANGUAGE_CODE": settings.LANGUAGE_CODE}
|
||||
|
||||
|
||||
def canonical_path(request):
|
||||
"""Add a canonical URL to the template context.
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
from django.shortcuts import render
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
|
||||
def index(request):
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
from django.shortcuts import render
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
|
||||
@login_required
|
||||
def whoami(request):
|
||||
"""This is the first page someone goes to after logging in."""
|
||||
return render(request, "whoami.html")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue