Closed
Bug 1563222
Opened 6 years ago
Closed 6 years ago
make oidcprovider work better in local dev environment
Categories
(Socorro :: Webapp, enhancement, P3)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: jwhitlock)
Details
Attachments
(3 files)
In this issue:
https://github.com/mozilla-parsys/docker-test-mozilla-django-oidc/issues/4#issuecomment-507897088
John suggested we can create accounts from the command line with this:
docker-compose exec oidcprovider sh -c './manage.py createsuperuser --user jwhitlock --email jwhitlock@example.com --no-input; ./manage.py shell -c "from django.contrib.auth.models import User; user=User.objects.latest(\"id\"); user.set_password(\"password\"); user.save()"'
We should create a helper script that gets added to the container in Dockerfile.oidcprovider. This makes scripting around account creation a lot easier.
| Assignee | ||
Comment 1•6 years ago
|
||
Assignee: nobody → jwhitlock
Status: NEW → ASSIGNED
| Reporter | ||
Comment 2•6 years ago
|
||
Tweaking the summary to be more of a catch-all for multiple issues all related to making the oidcprovider easier to use in the local dev environment.
Summary: add helper script for creating accounts in oidcprovider container → make oidcprovider work better in local dev environment
| Reporter | ||
Comment 3•6 years ago
|
||
| Reporter | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
r+=willkg, merged
| Reporter | ||
Comment 6•6 years ago
|
||
This is in prod now. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•