Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Okta Certified Administrator Exam - Topic 5 Question 78 Discussion

Speaking of Okta Template App and Okta Pluin Template App, which of the following RegEx can you create for an allow list of URLS so that both endpoints for /login or /change_password are accepted under example.com domain?Solution: https://example.com/(login|change_password)\\*
B) No
A) Yes

Okta Certified Administrator Exam - Topic 5 Question 78 Discussion

Actual exam question for Okta's Okta Certified Administrator exam
Question #: 78
Topic #: 5
[All Okta Certified Administrator Questions]

Speaking of Okta Template App and Okta Pluin Template App, which of the following RegEx can you create for an allow list of URLS so that both endpoints for /login or /change_password are accepted under example.com domain?

Solution: https://example.com/(login|change_password)\\*

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Yoko
27 days ago
Wait, does that actually work for all subpaths?
upvoted 0 times
...
Shenika
1 month ago
I think it should be https://example.com/(login|change_password).* instead.
upvoted 0 times
...
Kris
1 month ago
That regex looks good for the endpoints!
upvoted 0 times
...
Odette
1 month ago
I’m not sure, I thought regex needed more specificity.
upvoted 0 times
...
Vanesa
2 months ago
Totally agree, it should cover both paths!
upvoted 0 times
...
Nguyet
2 months ago
Wait, does that really work for all cases?
upvoted 0 times
...
Noah
2 months ago
I think it should be https://example.com/(login|change_password).* instead.
upvoted 0 times
...
Pearline
2 months ago
That regex looks good for both endpoints!
upvoted 0 times
...
Aretha
2 months ago
Based on what I studied, I believe the regex is correct for matching those endpoints under the example.com domain.
upvoted 0 times
...
Marquetta
2 months ago
I feel like I've seen regex questions before, but I can't recall if the asterisk is necessary in this case.
upvoted 0 times
...
Noel
3 months ago
I remember practicing a similar question, and I think the correct format is just using the parentheses without the backslash.
upvoted 0 times
...
Quentin
3 months ago
I think the regex should work, but I'm not entirely sure about the syntax with the backslashes.
upvoted 0 times
...

Save Cancel