I make call to /authorize with params like that:
method: ‘GET’,
host: ‘poc-hs1.us.auth0.com’,
path: ‘/authorize?response_type=code&client_id=0AX0SJOUeExghDBBpZd4wIT9SNVBInqR&redirect_uri=http%3A%2F%2Flocalhost%3A3002%2Fapi%2Fauth%2Fcallback&scope=openid+profile+email+offline_access&audience=http%3A%2F%2Flocalhost%3A8080%2Fapi&state=1x2y3z4’,
I expect of getting url /callback?code=… as stated in the guideline, but it returns /login?state=…
Type of the application - Regular Web Application, grant type - authorization code.
P.s. with current application setup I can easily get an access token with client_credentials and password grant types.
Thanks a lot Rueben for such prompt response.
We’re creating tests which communicate the backend service directly.
Probably you could suggest another flow using user credentials but without interaction with browser, thru API only?
Thanks in advance.