Problem With Okta Issuer-uri With Spring Security

I have just created a free developer account. My goal is to use it to verify the connecting our Spring Boot web app to Okta for authentication. I created an application and now I am trying to connect the Spring Security to it. I am specifying the issuer-uri, client-id and client secet in my properties file. The issuer-uri has the form https://dev-xxxx… and I see the error upon startup

java.lang.IllegalArgumentException: Unable to resolve Configuration with the provided Issuer of “”. I try that url in a browser and I see not found.

What an I missing with my configuration? This approach has worked fine for me with azuread.


Is your tenant a Okta tenant or auth0 tenant.

In Okta the discovery URL for the default custom authorization server would be,

1 Like