Authentication debug help

Is there a way to watch the traffic to/from the OAuth2 provider? All I see in the browser network tab is XHR traffic and none that appers to be auth related. The error I am getting is "unknown client" which could be the client_id is not getting sent correctly (config probably on my part), or something else is wrong like the endpoint I am using for authorize_url.
4 Replies
TechnoMage
TechnoMageOP2y ago
I figured out why I was not seeing network messages, and that helped debug the url being used. I do not see how to specify the scope. Google complains about it being missing or if I specify it as a parameter in the authorize_url then ash adds a second ? resulting in it not finding the other parameters Resolved that with authorization_params. Now debuging redirect_uri issue.
TechnoMage
TechnoMageOP2y ago
Now it appers to be doing the handshake but I get this
No description
TechnoMage
TechnoMageOP2y ago
The console shows this, so it looks like google sent a token but something else stopped it from suceeding
TechnoMage
TechnoMageOP2y ago
It looks like it is working. The email I was using was not entered in the user resource. I have it working now. Closing.

Did you find this page helpful?