angularjs-oauth / oauth-ng

AngularJS directive for the OAuth 2.0 Implicit Flow
http://angularjs-oauth.github.io/oauth-ng/
MIT License
364 stars 156 forks source link

Support for more than one oauth element per page #137

Open ldeluca opened 8 years ago

ldeluca commented 8 years ago

I'd like to allow users to connect various accounts ex. Instagram, Twitter, YouTube all from a single account settings page. When I have more than one oauth element on a page though, the values for the first one are overridden by the values from the second. Is there a recommended way to support more than one?

sushant2517 commented 7 years ago

Its been a while since this question was asked. But would like to answer it anyways. Not sure if this would be really possible as in a standard scenario, the app would manage a single user session using a id_token. So, once the token is available, the directive resolves as logged-in.