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

Expose /api/authenticate endpoint in oidc/skip user management flows #15349

Merged
merged 7 commits into from
Jun 17, 2021

Conversation

vishal423
Copy link
Contributor

@vishal423 vishal423 commented Jun 16, 2021

This API is useful to determine on the front end about authentication status of the user. Based on the API response, frontend logic can decide to retrieve the user information or to redirect to the login page, or do any other action. It's already been available under session / jwt authentication types.

Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (bellow reviewers) and adding skip-ci label, you can still see CI build result at your branch.

@DanielFran
Copy link
Member

@vishal423 Can you look at the npm tests?

@vishal423
Copy link
Contributor Author

@DanielFran , thanks for fixing issues. I will take a look at remaining as soon as I get some time.

@vishal423
Copy link
Contributor Author

@DanielFran , build seems to be good now.

@DanielFran DanielFran merged commit 2c93c5d into jhipster:main Jun 17, 2021
@pascalgrimaud pascalgrimaud added this to the 7.1.0 milestone Jun 18, 2021
@vishal423 vishal423 deleted the expose-authenticate-oidc branch June 18, 2021 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants