[bug 1333743] update documentation for new auth #1583
Conversation
Any hope for this one? |
mozillians/settings/local.py-devdist
Outdated
@@ -42,6 +42,14 @@ ADMINS = ( | |||
# ('Your Name', 'your_email@domain.com'), | |||
) | |||
|
|||
OIDC_OP_AUTHORIZATION_ENDPOINT = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of replacing these entries with empty strings please add the follow to local.py
dist files to force using the ModelBackend
for authentication.
AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.ModelBackend', )
|
||
.. note:: | ||
|
||
In case this command doesn't work, you can run ``./scripts/su.sh`` inside the container. In order to get shell access please run ``docker-compose run web /bin/bash``. | ||
To access in the site: http://127.0.0.1:8000/admin, the button signin cannot work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace this with:
To login to mozillians.org for dev purposes please visit http://127.0.0.1:8000/admin and login with the credentials issues in the previous step. The signin button doesn't work locally.
mozillians/settings/local.py-dist
Outdated
@@ -36,6 +36,14 @@ ADMINS = ( | |||
# ('Your Name', 'your_email@domain.com'), | |||
) | |||
|
|||
OIDC_OP_AUTHORIZATION_ENDPOINT = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
@@ -90,3 +98,6 @@ CSP_STYLE_SRC = base.CSP_STYLE_SRC + ( | |||
BASKET_URL = 'http://127.0.0.1' | |||
BASKET_API_KEY = 'basket_api_key' | |||
BASKET_MANAGERS = None # or list of email addresses. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment to mention that these are dev keys that always return True
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -50,6 +50,14 @@ ADMINS = ( | |||
# ('Your Name', 'your_email@domain.com'), | |||
) | |||
|
|||
OIDC_OP_AUTHORIZATION_ENDPOINT = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
@@ -116,3 +124,6 @@ CSP_STYLE_SRC = base.CSP_STYLE_SRC + ( | |||
'http://*.mozilla.org', | |||
'http://*.mapbox.com', | |||
) | |||
|
|||
NORECAPTCHA_SITE_KEY = '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Closing this one after #1623 |
No description provided.