onelogin / terraform-provider-onelogin

GNU General Public License v3.0
27 stars 19 forks source link

Onelogin subdomain setting issue #122

Open mehreen29 opened 1 year ago

mehreen29 commented 1 year ago

The provider is initializing successfully but when I try to use any data source i get the below error. How do I set in the subdomain here? I don't see any env variable or provider argument that accepts this value. Please help.

Error: unable to unmarshal response body ['json: cannot unmarshal object into Go value of type []map[string]interface {}'] for request = 'GET https://your-api-subdomain.onelogin.com/api/2/users HTTP/1.1'. Response = '401 Unauthorized'

mehreen29 commented 1 year ago

@Jmfwolf @rjhornsby Can you please help.

mehreen29 commented 1 year ago

@Jmfwolf Any updates please?

Jmfwolf commented 1 year ago

@mehreen29 mehreen I've been able to reproduce the issue and I'm working on a fix. I'll let you know as soon as I have an update.

Jmfwolf commented 1 year ago

@mehreen29 I am going to address this in the new implementation