I’ve one Okta oauth client application and another oauth resource application, Once after authenticate with Okta, I’m getting authorities as Admin,Everyone…
My resource server has condition that API is opened for only Admin authority. WIthout @preauthorize at resource server everything is working fine, when I’ve this it is giving me 403 after having the authority.
I even tried to keep the same condition at client application and the authorities are working fine.
What went worng, Please suggest ?