Open srodriki opened 2 weeks ago
do other adapters work properly?
@thdxr I've tried, for instance, the LinkAdapter and it works in regards to the example I shared above:
I get redirected to my redirect_uri, though in this case I see the token as a hash parameter instead of a querystring parameter (which is expected based on this ):
http://localhost:3000/#access_token=eyJh...
LinkAdapter
would error the same when processing the callback token /link/callback?token=...
SST Version: 0.0.368 Platform: MacOS Cloud: aws
I've implemented a simple Adapter for Auth that does email/password validation. I'm using the
/authorize
endpoint to handle this. Here's a code snippet:Expected results The expected behavior is that after I've validated the user's data, I continue with the success path for the auth call.
Actual Results
getting this exception:
Observations First of all, the error is thrown from here. It basically tries to read the redirect_uri from the cookie, instead of, for example, from the querystring, as it happens in other parts of SST.
Workarounds I've tried
So, I've already:
Any pointers into what am I doing wrong will be much appreciated