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

REST API Authentication without using Login form authentication #43

Closed
harikant-lftt opened this issue Jul 8, 2023 · 2 comments · May be fixed by #48
Closed

REST API Authentication without using Login form authentication #43

harikant-lftt opened this issue Jul 8, 2023 · 2 comments · May be fixed by #48
Labels
enhancement New feature or request

Comments

@harikant-lftt
Copy link

harikant-lftt commented Jul 8, 2023

Currently we have to show KC login form to start the authentication process.

Is there any way to to use As REST API for Authentication.

In my Case we have Mobile app and APP team does not want to open web view in mobile app, they are interested to use some api endpoint to login.

Like we do for Direct Grant using above URL {{kc_url}}/realms/{{realm}}/protocol/openid-connect/token

@harikant-lftt
Copy link
Author

Hi @ullgren, @isrjo

Is there any possibility to enhance this to support direct grant or I'm completely missing point here

@ullgren
Copy link
Contributor

ullgren commented Jul 11, 2023

@harikant-lftt interesting use case. Have not payed it enough thought right now to say if it is a good idea or not. We also would have to implement it so that it is implemented in a way that follows the bankid guidelines.

But it is technically possible to expose an api endpoint that provides something like the direct grant flow.

I'll put this on my mental roadmap and contributions are always welcome.

@ullgren ullgren added the enhancement New feature or request label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants