I am an OKTA newbie. I am trying to run the simplest use case for a Spring Boot web app accessed using OKTA. I downloaded the sample: Okta Spring Security & Okta-Hosted Login Page Example.
https://github.com/okta/samples-java-spring/tree/master/okta-hosted-login
I followed the instruction for creating, via the OKTA Admin Console, an App Integration, using the defaults as instructed.
I create an App Integration in the OKTA admin console with:
· OIDC - OpenID Connect
· Web App
· Allow everyone in your organization to access
· Enable immediate access with Federation Broker Mode
I run the Spring Boot Tomcat locally, select Login button and get directed to OKTA log-in pages and login in with ID and credentials. But I get
You are not allowed to access this app. To request access, contact an admin.
In the OKTA Admin Console, I can see my app has assignments “This app is implicitly assigned to users.”
I even tried assigning my user to the app as well as assigning the Everyone group to the app but when I log in (via the OKTA prompts) I still get “You are not allowed to access this app. To request access, contact an admin.”
What could I be doing wrong since I tried allowing everyone in org, the specific user, and the Everyone group to be assigned to the app?
Is there any way to see how the access policy is determining access?
What else can I try?
I know this is a simplistic question but I am frustrated that I cannot get this simple example from OKTA to work. Thank you for any help.
