Authorization endpoint URL
Posted: Thu Jun 22, 2023 4:31 pm
Hi guys
From the rainmaker docs it is not clear for me which URL I should use for authorization using OAuth2 method.
I want to control my devices connected to RainMaker using Yandex voice assistant.
So I need to pass OAuth2 authorization from Yandex side and specify RainMaker authorization URL according to this RFC:
https://datatracker.ietf.org/doc/html/r ... ection-3.1
Could you please help me to find the RainMaker authorization URL and how should I use it?
As an example I tried to use scripts from this repository: https://github.com/espressif/esp-rainmaker-cli
When I use https://rainmaker-signin-ui.s3.amazonaws.com/index.html then it passes access_token to localhost for some reason.
Could you please help me to specify correct URL for it to take correctly redirect_uri and other params like this:
state=https%3A%2F%2Fsocial.yandex.ru%2Fbroker2%2Fauthz_in_web%2F0d7726f41b914a6095de5a0f4a09d99e%2Fcallback&redirect_uri=https%3A%2F%2Fsocial.yandex.net%2Fbroker%2Fredirect&response_type=code&client_id=1h7ujqjs8140n17v0ahb4n51m2
Thank you.
From the rainmaker docs it is not clear for me which URL I should use for authorization using OAuth2 method.
I want to control my devices connected to RainMaker using Yandex voice assistant.
So I need to pass OAuth2 authorization from Yandex side and specify RainMaker authorization URL according to this RFC:
https://datatracker.ietf.org/doc/html/r ... ection-3.1
Could you please help me to find the RainMaker authorization URL and how should I use it?
As an example I tried to use scripts from this repository: https://github.com/espressif/esp-rainmaker-cli
When I use https://rainmaker-signin-ui.s3.amazonaws.com/index.html then it passes access_token to localhost for some reason.
Could you please help me to specify correct URL for it to take correctly redirect_uri and other params like this:
state=https%3A%2F%2Fsocial.yandex.ru%2Fbroker2%2Fauthz_in_web%2F0d7726f41b914a6095de5a0f4a09d99e%2Fcallback&redirect_uri=https%3A%2F%2Fsocial.yandex.net%2Fbroker%2Fredirect&response_type=code&client_id=1h7ujqjs8140n17v0ahb4n51m2
Thank you.