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

Changing authorization to Okta #2

Open
ravircit opened this issue Feb 28, 2024 · 3 comments
Open

Changing authorization to Okta #2

ravircit opened this issue Feb 28, 2024 · 3 comments

Comments

@ravircit
Copy link

Is that possible to change auth from Cognito to Octa. have done the set up Okta as a SAML identity provider in an Amazon Cognito user pool. but redirection doen't work

@reganwolfrom
Copy link
Member

@ravircit sorry for the delay in replying.

Are you thinking in terms of altering the console code on your side? We haven't tested yet, but you can update /assets/config.json to use "saml" instead of "cognito". Have you tried that already?

@ravircit
Copy link
Author

ravircit commented Mar 7, 2024

@reganwolfrom Thanks for reply. Yes I have tried that. It just redirect to Okta with normal login flow. not handling call back. I want to completely by pass Cognito user authentication, to replace with Okta. Is that possible?

@ravircit ravircit changed the title Changing authorization to Octa Changing authorization to Okta Mar 7, 2024
@reganwolfrom
Copy link
Member

Sorry for the delay in getting back to you, @ravircit.

Right now, if Okta is not working with the current flow, there are two ways I can think of to use Okta directly:

  1. You can alter the FormKiQ APIs to use Okta instead of Cognito
  2. You can set up a server-side proxy, such as an API Gateway triggering a Lambda, that handles your Okta authorizations and then access FormKiQ's API endpoints using an API Key

For #2, we have a tutorial you can look at: https://docs.formkiq.com/docs/tutorials/using-a-server-side-proxy

Otherwise, we can set up Okta as part of a FormKiQ Pro installation. Hope this helps. Thanks!

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

2 participants