Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3664 Vistas

Hello, I have a question regarding connecting Odoo with Okta.


It is possible to setup a Oauth provider in Odoo. I would like to use Okta for this. However, the Odoo application in Okta does not provide support for this so I have to setup a new application.​

The problem I am facing is that for this setup, Okta is referencing to the documentation of Odoo (in this case). However Odoo does not have sufficient documentation about this. Because of that, I do not know where to find the endpoints necessary to setup this application.

Hopefully someone has experience with this and can help me out. Thanks in advance.​


Avatar
Descartar
Mejor respuesta

Hello! I understand that you are trying to connect Odoo with Okta as an OAuth provider, but you are facing issues with finding the necessary endpoints in Odoo's documentation. Here are some steps that might help you with this setup:

  1. Create an OAuth Application in Okta: In your Okta account, create a new application for Odoo as an OAuth provider. You may need to specify the redirect URI, scopes, and other settings as per your requirements.

  2. Obtain Client ID and Client Secret: Once the Okta application is created, you will receive a Client ID and Client Secret. Make sure to keep these credentials secure as they will be used for authentication with Okta.

  3. Configure OAuth in Odoo: In your Odoo instance, go to the settings and navigate to the OAuth Providers section. Create a new OAuth provider and provide the required information, including the Client ID, Client Secret, and any other settings as per Okta's documentation.

  4. Endpoint Configuration: Okta's documentation might refer to specific endpoints in Odoo that need to be configured for the OAuth integration. These endpoints could include the Authorization URL, Token URL, Userinfo URL, and others. You may need to consult with Odoo's documentation or support to find the appropriate endpoints for your Odoo version.

  5. Test the Integration: Once the configuration is complete, you can test the integration by trying to log in to Odoo using Okta as the OAuth provider. Make sure to follow the steps in Okta's documentation to ensure that the integration is set up correctly.

If you encounter any issues or need further assistance, I recommend reaching out to Odoo's support or consulting with an Odoo expert for guidance. They may be able to provide more specific information on how to connect Odoo with Okta as an OAuth provider.

Avatar
Descartar
Autor

Hey, thanks for your comment.

I tried this and got the invalid_nonce error. I have had contact with Okta support, and we figured out that Odoo is not sending a nonce parameter, which is required for OIDC.

In the past few years, there were several users complaining about this issue in the Oauth Provider menu of Odoo, on GitHub. I have contacted Odoo support and hope they can help me because this issue is very frustrating.

Publicaciones relacionadas Respuestas Vistas Actividad
1
ene 25
1257
2
oct 23
3171
1
nov 15
8069
5
dic 24
9570
3
ene 25
1955