Giter VIP home page Giter VIP logo

Comments (5)

nov avatar nov commented on August 30, 2024

If you want to do so temporally, overwrite Rack::OAuth2::AccessToken::Bearer (I assume you use bearer token).
If it's long-term plan, I recommend you not to implement it now and wait until OpenID Connect comes out.

from rack-oauth2.

pjammer avatar pjammer commented on August 30, 2024

Hi nov,

I wrote this before i understood how omniauth effects what you see when you get the final call back. The aha oprah moment for me was that i have go into the access_token stage and then hit a separate url that houses the information i need, which sends a hash of info back to the consumer app. It makes sense now, but at the time it seemed odd.

OpenID Connect, eh? i'll google, but if it's like the last implementation with long arsed urls, I'll stick to Oauth.

I just want to say thanks for this gem too and for your sample apps. I chose the Mac support one, but you must still be hacking on it eh? I've changed some things to make it work with my app. Also in the Mac support gem, you reference Rack::OAuth2::AccessToken::Bearer a lot in the app's source code, but shouldn't that be Rack::OAuth2::AccessToken::MAC instead?

from rack-oauth2.

nov avatar nov commented on August 30, 2024

For mac token, see this sample.
http://github.com/nov/rack-oauth2-sample-mac

nov

On May 6, 2011, at 6:13 PM, [email protected] wrote:

Hi nov,

I wrote this before i understood how omniauth effects what you see when you get the final call back.

OpenID Connect, eh? i'll google, but if it's like the last implementation with long arsed urls, I'll stick to Oauth.

I just want to say thanks for this gem too and for your sample apps. I chose the Mac support one, but you must still be hacking on it eh? I've changed some things to make it work with my app. Also in the Mac support gem, you reference Rack::OAuth2::AccessToken::Bearer a lot in the app's source code, but shouldn't that be Rack::OAuth2::AccessToken::MAC instead?

Reply to this email directly or view it on GitHub:
#4 (comment)

from rack-oauth2.

pjammer avatar pjammer commented on August 30, 2024

Yeah I'm commenting on it too now. I'll close this issue. Would love to talk more over there. thanks.

from rack-oauth2.

pjammer avatar pjammer commented on August 30, 2024

Ugh, i WANTED to git clone the mac app, looks like i git cloned the bearer app... my bad, but the fixes I'm adding work in both.

from rack-oauth2.

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.