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

App APIs using multiple accessToken passports #37

Closed
corbanb opened this issue Jul 20, 2015 · 2 comments
Closed

App APIs using multiple accessToken passports #37

corbanb opened this issue Jul 20, 2015 · 2 comments

Comments

@corbanb
Copy link

corbanb commented Jul 20, 2015

I think I have an odd edge case here. We are working on an iOS app using the http-bearer authentication method + trying to link facebook-token passports together.

When we make a request we would like to pass the bearer auth token to prove a user is logged in and then attach and approve a facebook-token strategy.

I noticed this library sends a 400 if you have a header token + an access_token on the body of a post.

Is this a security issue of not allowing both since 2 potential tokens could be sent? Whats the work around if any?

@hspinks
Copy link

hspinks commented Sep 11, 2015

@corbanb were you ever able to figure out a solution / workaround? or are there any plans to change the behavior here?

@corbanb
Copy link
Author

corbanb commented Sep 11, 2015

I just passed in different var names and trapped them before they got to the middleware to mange it on the way these expect them in steps @hspinks.

@corbanb corbanb closed this as completed Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants