Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix OAuth redirect handling from Javascript #1420

Closed
nadouani opened this issue Jun 30, 2020 · 0 comments
Closed

Fix OAuth redirect handling from Javascript #1420

nadouani opened this issue Jun 30, 2020 · 0 comments
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@nadouani
Copy link
Contributor

Request Type

Bug

Problem Description

Handling the OAuth mechanism from the Javascript code is not working when /api/ssoLogin use a 302 redirection to the provider authorization URI.

The change here will make sure that clicking on "# with SSO" button, will redirect the page to /api/ssoLogin and let the browser deal with all the authentication process, and then redirect the user to TheHive.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

2 participants