So when I follow the instructions in my Okta dev environment, I’m able to follow all the instructions and get the Okta login working properly. Unfortunately, when I try to do the same instructions (or as much of the same instructions as I can) in my Okta production environment – I get a 400 bad request error.
Is this Okta authentication app ONLY supposed to be used with the Okta dev environment or can it be used with the production environment as well?
]]>I’m trying to configure this OKTA plugin in our test env.
Our settings are below:
Plugin settings –
ORG URL – https://expediagroup.oktapreview.com
Base URI https://chcxblogtest001
Login Redirect URI https://chcxblogtest001/wp-json/okta/auth
Client ID: Obtained from OKTA
Client Secret: Obtained from OKTA
OKTA settings –
Login redirect URIs – https://chcxblogtest001/wp-login.php
Logout redirect URIs – https://chcxblogtest001/wp-login.php?action=logout
Initiate login URI – https://chcxblogtest001/wp-login.php
Client ID – Copied to plugin
Client secret – Copied to plugin
With the settings as they are listed above I am constantly seeing –
400 Error –
Identity Provider: Unknown
Error Code: invalid_request
Description: The ‘redirect_uri’ parameter must be an absolute URI that is whitelisted in the client app settings.
I cannot see any reason this would not be working. We read through the other posts here and ensured that our Initiate login and login URI fields matched exactly as it was suggested in another thread this may be the problem. We are block from being able to use this plugin at this point. Any help is appreciated. Thanks.
]]>Are you able to pas sin metadata from Okta to user fields?
]]>Hello,
I am trying to configure Okta authentication. I have an existing Okta account tied to my organization’s Active Directory system. My organization URL is https://wlu.okta.com. I added the base URI https://events.wlu.io and the login redirect URI to the appropriate sections in the Okta Developer Console. I generate a Client ID and Client Secret and inserted those values into the plugin. All appears to be good and the Okta login option appears on my /wp-admin and wp-login pages when not logged in. When I submit my credentials, however, I am returned a 400 error, with the following information.
Identity Provider: Unknown
Error Code: server_error
Description: The requested feature is not enabled in this environment.
Please provide guidance. I don’t know where to start.
Thanks,
Eric
I’m looking to use Okta to allow our users to authenticate easier to our WP environment. We already have users in WP and we also have an Okta account.
I created a developer account test the integration to see how it would react with existing users and even though my email address is the same in both WP user account and the developer account I created, upon logging in via Okta, it created a new account for me. So instead of being an admin of the WP environment, I am a contributor.
Is there any way to sync between the 2 systems, using the email as the identifier? Moving forward we’d be looking to have accounts created in Okta and create WP accounts which seems it would work ok (apart from the fact that Okta creates accounts with the email field blank) but just doesn’t seem to be a current solution for existing accounts…
]]>Are there any additional configuration notes for Okta in the new UI. I’m getting an HTTP 500 error – “Cannot create a user with an empty login name.”
Then OKTA comes back with:
Identity Provider: Unknown
Error Code: invalid_client
Description: Invalid value for ‘client_id’ parameter.