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

Add configured provider list #119

Open
jgrowl opened this issue Aug 24, 2014 · 3 comments
Open

Add configured provider list #119

jgrowl opened this issue Aug 24, 2014 · 3 comments

Comments

@jgrowl
Copy link

jgrowl commented Aug 24, 2014

Would it be possible to add the ability to get all of the currently configured providers for a specific application when provided with only the public application key? Or the private key if there are security concerns (For the server-side).

It looks like there is something similar in the web api (https://oauth.io/docs/api-reference/default/rest#providers-get-list).

However it looks like this requires authentication using the website's user/password (Correct me if I am wrong).

The use case I am seeing is that this would add the possibility of dynamically populated the list of configured providers on the front end without having to manually add them.

@TheVinc
Copy link
Contributor

TheVinc commented Nov 13, 2014

Hi jgrowl,

If you want to list keysets (provider names) for an app, you can use the following endpoint:
'/api/apps/:key/keysets'

@TheVinc
Copy link
Contributor

TheVinc commented Nov 13, 2014

However, you are right about the authentication. We may want to modify this endpoint so that i can be accessible with the website's user/password but also with the app client_id and client_secret as there is not so much security concerns for this method.

@rinoto
Copy link

rinoto commented Mar 16, 2016

+1 on this.

It would be great if an entry point would be added similar to the existing:

'/api/apps/:key/keysets/:provider'

That doesn't require authentication, and just delivers the public key of the provider (i.e. clientId). Something like:

'/api/apps/:key/publickeys/:provider'

delivering:

{"status":"success","data":{"parameters":{"client_id":"aF42wcJXfLFWasdsadsadasd"},"response_type":"both","options":{}}}

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

3 participants