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

Adjusts -admin validation check #1513

Merged
merged 3 commits into from
Apr 23, 2024
Merged

Adjusts -admin validation check #1513

merged 3 commits into from
Apr 23, 2024

Conversation

jaredperreault-okta
Copy link
Contributor

No description provided.

@@ -48,7 +48,7 @@ function assertValidConfig(args) {
'Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');
}

if (issuer.indexOf('-admin.') !== -1) {
if (issuer.indexOf('-admin.okta') !== -1) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question, is it worth it to maintain a list of all okta domains to perform the search against?

It's probably a low chance of this but thinking about someone having a domain like auth-admin.otkamanium.com 😅

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If no value add in that this LGTM!

@oktapp-aperture-okta oktapp-aperture-okta bot merged commit 6ff9711 into master Apr 23, 2024
1 check passed
@oktapp-aperture-okta oktapp-aperture-okta bot deleted the jp-OKTA-720755 branch April 23, 2024 18:37
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

Successfully merging this pull request may close these issues.

3 participants