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

Token-based workflow #89

Open
yordis opened this issue Dec 24, 2018 · 7 comments
Open

Token-based workflow #89

yordis opened this issue Dec 24, 2018 · 7 comments

Comments

@yordis
Copy link
Member

yordis commented Dec 24, 2018

As a user, I should be able to initialize the authentication workflow using a token.

SPAs, and mobile applications initialize the authentication workflow in the client. The workflow will give you the authentication token that you should be able to use in the backend for getting the user data as the second part of the Ueberauth workflow is doing today.

Proposal

The Ueberauth API should allow the user to initialize the second step of the workflow.

Notes

It shouldn't rely on Plug.Conn since applications with GraphQL or any other non-HTTP based protocol wouldn't be able to use it.

Related to #20 #50 please read more details from those threads.

@stephenmoloney
Copy link
Contributor

stephenmoloney commented Dec 25, 2018

ueberauth_token does this I think. This is an example provider.
It's a long while since I've been developing on that lib though.

@yordis
Copy link
Member Author

yordis commented Dec 25, 2018

@stephenmoloney that is the next goal for Ueberauth. It seems that you already did it so if you have any feedbacks we are welcoming to it.

@stephenmoloney
Copy link
Contributor

I'd need to revisit this topic again to give good feedback. Let's see how things go, just not much time for foreseeable future...

@gbrlcustodio
Copy link

Had this topic evolved since then? Is there some WIP that I could help with?

@yordis
Copy link
Member Author

yordis commented Aug 17, 2019

@gbrlcustodio I think this branch https://github.com/ueberauth/ueberauth/tree/v1_proposal was working on it but didn't finish the changes.

If you want to make a proposal go for it.

@shahryarjb
Copy link
Contributor

shahryarjb commented Apr 20, 2020

@yordis A point that has not been considered, google forces you to redirect link in it's config.

Please see this post:

https://elixirforum.com/t/problem-to-create-api-with-ueberauth/30772

I need your help

@kcirtaptrick
Copy link

Has there been any progress on this? I'd be happy to help with this, but would need some direction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants