Giter Site home page Giter Site logo

Add token base workflow about ueberauth HOT 9 CLOSED

yordis avatar yordis commented on April 27, 2024
Add token base workflow

from ueberauth.

Comments (9)

yordis avatar yordis commented on April 27, 2024

I will be more than happy to contribute on this but I need directions, specially thinking on fallback

from ueberauth.

scrogson avatar scrogson commented on April 27, 2024

@yordis please see my comment here

from ueberauth.

yordis avatar yordis commented on April 27, 2024

@scrogson but the idea is actually expand ueberauth module to support that workflow once you have the token. Notice how much duplicated code is needed for accomplish the task.

I understand how to accomplish the task but I think is better to add that feature. I think is a perfect place and it will help a lot of people.

from ueberauth.

Abacaxi-Nelson avatar Abacaxi-Nelson commented on April 27, 2024

I understand how to accomplish the task but I think is better to add that feature. I think is a perfect place and it will help a lot of people.

@yordis i agree. I need this feature to jump on ueberauth, and leave Rails...

from ueberauth.

yordis avatar yordis commented on April 27, 2024

@tugal the ticket is closed so 😢

from ueberauth.

hassox avatar hassox commented on April 27, 2024

I'd like to attack this feature in the very near future. I'm seeing this come up as an issue more and more. My focus atm is getting guardian 1.0 out but I'm hearing this issue loud and clear. One thing I'm not sure about is how to get this into ueberauth base rather than delegating it out to the individual strategies. Is there a behaviour we can define that would provide enough to kick this off or do you folks think that strategies should look after it?

from ueberauth.

yordis avatar yordis commented on April 27, 2024

@hassox if you are focus on Guardian I can help over this side.

One thing I'm not sure about is how to get this into ueberauth base rather than delegating it out to the individual strategies.
We can't, every strategy knows about his implementation detail. The only thing we could do is define the protocol of communication. I don't see this working in ueberauth side, specially that you have twitter in OAuth 1 still 😭

Is there a behaviour we can define that would provide enough to kick this off or do you folks think that strategies should look after it?
Strategy providers have to look after it. Ueberauth will just implement the protocol definition and workflow.

Side notes,
The reason that I didn't want to do what is listed here #20 (comment) is that, all their implementations required a Plug.Conn to be able to work. If want to see ueberauth as Web based only that would makes sense, but now with GraphQL or even good architectures around OTP apps, the attachment to any Web framework becomes a wall, at least for the token
In my case, I pushed all the user identity to it's own OTP, which just receive a token string passed from the web server.

from ueberauth.

Abacaxi-Nelson avatar Abacaxi-Nelson commented on April 27, 2024

I'd like to attack this feature in the very near future. I'm seeing this come up as an issue more and more. My focus atm is getting guardian 1.0 out but I'm hearing this issue loud and clear. One thing I'm not sure about is how to get this into ueberauth base rather than delegating it out to the individual strategies. Is there a behaviour we can define that would provide enough to kick this off or do you folks think that strategies should look after it?

@hassox : Why not create another optionnal method "validate_token" (ina ddition to exiting ones : request and callback), where statégies are responsible to implement. In my point of view, only stratégies know how to validate their tokens...

Nice to hean that this feature still open..

from ueberauth.

yordis avatar yordis commented on April 27, 2024

Moved to #61

from ueberauth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.