Kari Ruissalo (WyW)
03/13/2024, 6:50 PMgrant_type=password? Should we use grant_type=client_credentials instead?
I got a few steps forward by adding the Authorization header (basic), but if I'm trying HTTP POST to `/oauth/idp/`token with the following:
Headers
• Content-Type = application/x-www-form-urlencoded
• Authorization = Basic {base64-encoded creds}
Body
• grant_type = client_credentials
• client_id = something
• client_secret = something
I encoded the Basic auth header using UTF-8 (tried Unicode too didn't change anything). Getting a http 400 bad request response.
... I'm getting the following error in the ns.log:
"OAUTHIDP: Client credentials ERROR: clientid or secreit or resource is absent"Kari Ruissalo (WyW)
03/14/2024, 2:57 PMKari Ruissalo (WyW)
03/14/2024, 3:52 PMresource=something in to the request body, and got the access token, but still missing a bunch of stuffKari Ruissalo (WyW)
03/22/2024, 6:26 AMKari Ruissalo (WyW)
03/25/2024, 9:34 AM