Solved

OAuth 2.0 with multiple applications in one IAM

  • 3 September 2021
  • 2 replies
  • 100 views

Userlevel 3
Badge +11

I deployed a version of our application to IAM with the OAuth server implemented. This worked fine when using 1 application, but we have situations with multiple applications per IAM. In the future we also like to use the tenants so that we have multiple clients using 1 IAM.

 

The following error occurred with more than 1 application:

Er bestaat al een waarde met sleutel 'azure' in het woordenboek. (Primary key already exists.)

Stored procedure: get_gui_oauth_server
Column: request_refresh_token

oauth_server_id = 'azure', authorization_url =….

 

I tried to delete the key but this is impossible. Is there another solution to this? How should we configure IAM to be able to use an OAuth server for each application with different URL's?

icon

Best answer by Anne Buit 3 September 2021, 12:58

View original

2 replies

Userlevel 7
Badge +11

Edit: looks like we've found a possible cause. We are currently investigating a solution.

To use different OAuth server configurations for different applications, you can override the OAuth server configuration in IAM per application, as documented here: Applications · Thinkwise Docs (thinkwisesoftware.com)

Userlevel 7
Badge +5

We have identified the root cause and we will be providing a hotfix shortly.

Reply