Joe Spurling
Joe Spurling

Reputation: 967

Invalid redirect URI for Deezer oAuth

Every attempt I make to authenticate at Deezer is answered with the error message:

You must enter a valid redirect URI

The redirect URI set in my application settings is https://example.com/callback/deezer and the request I make looks something like:

https://connect.deezer.com/oauth/auth.php?app_id=xxxxxx&redirect_uri=https%3A%2F%2Fexample.com%2Fcallback%2Fdeezer&scope=basic_access%2Cemail&state=xxxxxx&response_type=code

The app_id value is correct. Any help?

Upvotes: 0

Views: 905

Answers (1)

minuteMed
minuteMed

Reputation: 887

you must set the "Application domain" as the url which the login script in connection from.

for example, if you're working on your localhost on this url: http://localhost:3000/index.html

just put the value localhost/index.html, without the port.

Upvotes: 1

Related Questions