Skip to content

Alexa Oauth account linking #2

@guilhermelirio

Description

@guilhermelirio

I'm currently trying to develop an Alexa Skill and I'm having some issues with the Account Linking.
Here's what I got:

Auth Code Grant:

Authorization URI : https://api.ihealthlabs.com:8443/OpenApiV2/OAuthv2/userauthorization/?client_id=<client_id>&client_secret=<client_secret>&response_type=code&redirect_uri=https%3A%2F%2Fpitangui.amazon.com%2Fapi%2Fskill%2Flink%2FMHEQIVG12W2HQ&APIName=OpenApiSleep%C2%A0OpenApiBP%C2%A0OpenApiWeight%C2%A0OpenApiBG%C2%A0OpenApiSpO2%C2%A0OpenApiActivity%C2%A0OpenApiUserInfo%C2%A0OpenApiFood%C2%A0OpenApiSport%C2%A0OpenApiT%C2%A0OpenApiHR&IsNew=False

Access Token URI: https://api.ihealthlabs.com:8443/OpenApiV2/OAuthv2/userauthorization

Client ID: < client ID retrieved from iHealth API Application>

Client Secret: < secret retrieved from iHealth API Application>

Client Authentication Scheme: HTTP Basic

Scope: empty

Domain list: empty

Default Access Token Expiration Time: empty

Redirect URLS: one of the redirect URL provided by Amazon Developer is configured in my iHealth account.

When I test this, the redirect URL is called with these params: success=false&errorKey=missing-state&languageCode=en_US

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions