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

Create Basic Example of using auth_plug in a Phoenix App #1

Closed
4 tasks done
nelsonic opened this issue Apr 15, 2020 · 3 comments
Closed
4 tasks done

Create Basic Example of using auth_plug in a Phoenix App #1

nelsonic opened this issue Apr 15, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed in-progress T1d technical

Comments

@nelsonic
Copy link
Member

nelsonic commented Apr 15, 2020

Create a super-basic step-by-step example using the auth_plug dwyl/auth_plug#2
and a DWYL_API_KEY dwyl/auth#42 to handle all auth requests.

This issue depends on the other two issues mentioned above,
but it's it super instructive to build the Example/Demo app while you are building the modules
because it informs the interface for those modules.

@nelsonic nelsonic added enhancement New feature or request good first issue Good for newcomers labels Apr 15, 2020
@nelsonic nelsonic self-assigned this Apr 15, 2020
@nelsonic
Copy link
Member Author

I've got the auth_plug working well. ✅
Next: Extract values from conn.assigns and display them in a template.

@nelsonic
Copy link
Member Author

Setup GIF:
auth_plug_example_setup

End result:
image

Boom. 💥

@nelsonic
Copy link
Member Author

Working on Heroku: https://auth-plug-example.herokuapp.com/admin
image

nelsonic added a commit that referenced this issue May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed in-progress T1d technical
Projects
None yet
Development

No branches or pull requests

1 participant