Closed wascou closed 8 years ago
Your client should send a request to the authorization endpoint as follows:
Please the response_type
param MUST be token
.
Hi,
I tried what you said but got another error : client_id is required. I set it, and then 'redirect_uri' error popped. It seems that their is a wrong mapping at this point.
I actually drop this feature and use the regular decisionView option that works well.
Thank you.
Max
If you take the request @raymondfeng posted as an example, you see it requires a client_id in it's params. The client_id is unique identifier of the application you should have created.
Actually, I tested this in the following way :
I got the error on each of the params and it seems that clientId is forwarded instead of _clientid.
I drop this configuration as it was not working and I use the dialogView instead and set every parameters I needed.
Thank you for the answer !
Max
This looks good to close to me! Please re-open and mention me in a comment if an issue persists.
Cheers
When I use the Implict mode, using the decisionPage options triggers an error :
It seems that the following line is missing :
in the following block code in
oauth2-loopback.js