Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo Users #56

Merged
merged 8 commits into from
Aug 16, 2020
Merged

Demo Users #56

merged 8 commits into from
Aug 16, 2020

Conversation

budlight
Copy link
Contributor

@budlight budlight commented Apr 7, 2020

This pull request allows the user to add demo users like:

    'PASSWORDLESS_DEMO_USERS': {
        1: '123456',

    },

where 1 is the primary_key of the user and '123456' is a static pin.

I based this off of https://github.com/charleshan/django-rest-framework-passwordless/commits/master

I think we could instead add a field that is evaluated as bool similar to PASSWORDLESS_USER_MOBILE_VERIFIED_FIELD_NAME and have it set which users are demo users. Both ways really have different downsides and upsides. A demo user pretty much has to be a permanent user with Apple.

Let me know if you have any input.

This is in references to #45

@budlight budlight force-pushed the master branch 2 times, most recently from 3058a2d to c63bd59 Compare June 17, 2020 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants