Web sign in failed because no_matching_policy

  1. I created an okta application for test
  2. Add person and assign to application
  3. Run WebSignIn sample in okta-mobile-swift sdk
  4. Input correct issuer and clientId and redirect uri in okta.plist
  5. click sign in
  6. input user name and password, got “You are not allowed to access …”
  7. check system log in developer system, and got log:
  8. my okta appliaction config:
    Grant type : Client Credentials, Authorization Code, Refresh Token, Interaction Code
    And all rules are passed
    And the access testing tool shows that the user can access the application

so which step I was wrong???

You could check for the type of authorization server you are using, this failure might mean you might be using Custom authorization server. Confirm this first.

If you are using custom authorization server, check whether you have an access policy rule which allows this test login. For example, check if the app, user, scope combinations allow access.

wow, u are right!
Using default auth server, but no access poilcies!

I added a rule and solved my issues!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.