Forum

Browse topics, discover Works With Legrand community!

Authorization string OAuth 2.0 ?

Hello,

I would like to know how I can get the Authorization string OAuth 2.0 access token to try Home + Control API function, please ?

thanks

Hello Tyler,

When I try to connect to your application, I’m not asked to accept the scopes (which would be the first step when you copy/paste the URL in the browser). So I have 3 questions :
– Did you Subscribed to the Starter Kit ?
– What is the status of your application ? (Accepted, Waiting for approval, …)
– Are you sure your client_id is the correct one ?

Have a good day,
Leslie – Community Manager

I can not get the code from the white page html file.
please help me with a concrete example

  • This reply was modified 4 months, 2 weeks ago by  Danye.

Hello Danye,

Can you show me the request you send?
(Please hide your personal information)
If it’s a web application you just have to make a right click -> display source code

Have a good day,
Leslie – Community Manager

Hello again Danye,

I saw you tried to send some code but it went in spams because putting direct HTML is forbidden on the forum (for security reasons).

In the information you retrieved you have : name='code' id='code' value='eyJraWQiOiJjcGltY29yZV8wOTI1MjAxNSIsInZlciI6Ij........

This value is your code.

Have a good day,
Leslie – Community Manager

Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.

Information

message18 replies
people5 participants