Comments (5)
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.
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.
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 beRack::OAuth2::AccessToken::MAC
instead?Reply to this email directly or view it on GitHub:
#4 (comment)
from rack-oauth2.
Yeah I'm commenting on it too now. I'll close this issue. Would love to talk more over there. thanks.
from rack-oauth2.
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)
- request to follow SemVer/mention it in README HOT 1
- alias_method_chain is deprecated HOT 1
- Authorization endpoint returning token as URL fragment instead of query HOT 2
- Verify redirect_uri HOT 1
- identifier used for both client_id and basic auth user HOT 7
- Support custom token types HOT 2
- Urlencoding of client identifier and secret when using HTTP basic auth in access_token! HOT 4
- The link to the example app is broken
- Incorrect URN values for draft-ietf-oauth-token-exchange
- rack update to 2.1.1 break rack-oauth2 HOT 7
- Code based on rack-oauth2-sample Fails after version 1.12 of rack-oauth2. HOT 4
- Need support for setting custom headers on token requests HOT 1
- Add support for PKCE HOT 7
- Token requests should not require client_id param when using JWT/SAML assertion client authentication HOT 2
- requesting a changelog
- `client_id` should be optional for Access Token Request of Resource Owner Password Credentials Grant HOT 2
- Problems with openssl support HOT 2
- rack-oauth2 and webmock don't expect the same HTTP response body type HOT 4
- Accessing response headers
- Dependency json-jwt allows bypass of identity checks via a sign/encryption confusion attack (CVE-2023-51774)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rack-oauth2.