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

Question: non-web based clients? #1668

Closed
rezagh opened this issue Mar 11, 2020 · 5 comments
Closed

Question: non-web based clients? #1668

rezagh opened this issue Mar 11, 2020 · 5 comments

Comments

@rezagh
Copy link

rezagh commented Mar 11, 2020

is it possible to have a dex client that is not web based? i.e.b2b scenarios where an applications wants to get a ID token via dex which is connected to LDAP?

@devfd
Copy link

devfd commented Apr 10, 2020

In the case you are referring to a native application it depends if you have access to a web browser. If you do, your application starts a local web server and then initiates an authorization flow with a redirect_url to the local web server. You can then exchange the code you receive for an access token.

@rezagh
Copy link
Author

rezagh commented Apr 13, 2020

Thanks; so if the application has no access to a web browser (a backend code making an api call to another backend service) the answer i assume would be no?

@candlerb
Copy link
Contributor

candlerb commented May 19, 2020

Sounds like you want the password grant flow: open ticket #926
or client credentials flow: #764 ?

@squat
Copy link
Contributor

squat commented Sep 30, 2020

Support for the password grant flow was added in #1621.

@rezagh
Copy link
Author

rezagh commented Nov 24, 2020

@candlerb I am after client credentials b2b flow.

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

4 participants