Getting the OAUTH2 Token
问题 I'm trying to retrieve a OAUTH2 token from our IDM server - I've tried several flavors of rudimentary examples, but all of them return a 200 status with no code included. I can do it with no trouble via postman, using a header of: Content-Type application/x-www-form-urlencoded ... and sending the client_id, redirect_uri and code parameters. I get something back that looks like this: { "access_token": "abcd...", "token_type": "bearer", "expires_in": 3600 } Here's the super rudimentary code