Cristian Bravo
Mon Feb 04 2019
11:30:03 GMT-0300 (Chile Summer Time)
Hi we're integrating Cognito's OpenID Flows with a government service which needs to attach cutoms params on "scope" in the URL request. So, this is the scenary:
Cognito:
URL/oauth2/authorize?identity_provider=BLAH&redirect_uri=BLAH&respose_type=code&client_id=BLAH&state=BLAH&scope=openid run name
As you can see, I need to attach the "run name" params.
With this, Cognito returns me an error page with "invalid_request" error. If I don't attach this customs params, the flow works correctly but I need to attach them to get this work in the entirely flow, 'cause it crash on the next step.
How can I achieve this? Please help.
Thanks in advance.
Can you please elaborate?