Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

DISCOVERY_DOCUMENT OKTA Auth fails #57

Open
sri-pavan opened this issue Feb 3, 2020 · 3 comments
Open

DISCOVERY_DOCUMENT OKTA Auth fails #57

sri-pavan opened this issue Feb 3, 2020 · 3 comments

Comments

@sri-pavan
Copy link

The DISCOVERY_DOCUMENT does not include the api login url for okta its juts creates a random /callback url which there is no documentation on configuring

@payton
Copy link
Contributor

payton commented Feb 22, 2020

Can you expand more on what your issue is?

What is the "it" that is creating a random /callback url? Our CloudFront URL is used for the /callback url.

@sri-pavan
Copy link
Author

It implies the build.sh

the Discovery Document for OKTA should be a separate URL which we get from OKTA, when we replaced the disc_doc url with the one form OKTA our app started working before it was giving 400 errors as the discovery document didnt exist

@qwwqwwq
Copy link

qwwqwwq commented Mar 24, 2022

I think whats going on here, after encountering this myself, is that during the build.js workflow I think It's confusing what "Base URL" means. It should be the okta base url (https://<company>.okta.com) not the application base url (<xxx>.cloudfront.net), if you provide the cloudfront url the lambda function will timeout and you'll get some weird behavior like a 503 or something.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants