Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

OAuth Authorization from new users is not Returning a Response #108

Open
latoyazamill opened this issue Oct 25, 2019 · 0 comments
Open

OAuth Authorization from new users is not Returning a Response #108

latoyazamill opened this issue Oct 25, 2019 · 0 comments
Labels
legacy Related to legacy, non-OpenAPI SDK

Comments

@latoyazamill
Copy link

client = HelloSign::Client.new :api_key => 'SIGN_IN_AND_CREATE_API_KEY_FIRST', :client_id => 'cc91c61d00f8bb2ece1428035716b', :client_secret => '1d14434088507ffa390e6f5528465'
client.oauth_create_account :email_address => '[email protected]'

Should return a similar response:

{
	"account": {
		"account_id": "b4680b45053c7601ca1eee3b126eca6b2b0a0219",
		"email_address": "[email protected]",
		"callback_url": null,
		"role_code": null
	},
	"oauth_data": {
		"access_token": "NWNiOTMxOGFkOGVjMDhhNTAxZN2NkNjgxMjMwOWJiYTEzZTBmZGUzMjMThhMzYyMzc=",
		"token_type": "Bearer",
		"refresh_token": "hNTI2MTFmM2VmZDQxZTZjOWRmZmFjZmVmMGMyNGFjMzI2MGI5YzgzNmE3",
		"expires_in": 86400    // in seconds
	}
}

Confirmed to only return the email address returned in the response shows the app owner's email address NOT the newly created OAuth account as expected.

@jtreminio-dropbox jtreminio-dropbox added the legacy Related to legacy, non-OpenAPI SDK label Mar 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy Related to legacy, non-OpenAPI SDK
Projects
None yet
Development

No branches or pull requests

2 participants