I'm trying to do a web service call to Google post password change and I can't get it to work. When a password is changed I get this error: "A required service is unavailable. Please try again later." Any ideas? I have v1.9.1 and see there may be an issue with this version and Post Password API calls.
Thanks!
--
You received this message because you are subscribed to a topic in the Google Groups "pwm-general" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pwm-general/1tk0kn1r5V4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pwm-general...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pwm-general/33800b02-d9d5-4f7d-9753-cac393ce89afn%40googlegroups.com.
2020-12-29T15:31:33Z, TRACE, client.PwmHttpClient, {6hIIO,testbrandon} received response (id=24) in 188ms: HTTP response status 401 Unauthorized [71.67.112.181] header: Vary=Referer header: Content-Type=application/json; charset=UTF-8 header: Date=Tue, 29 Dec 2020 15:31:33 GMT header: Server=ESF header: Content-Length=509 header: X-XSS-Protection=0 header: X-Frame-Options=SAMEORIGIN header: X-Content-Type-Options=nosniff header: Alt-Svc=h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43" body: { "error": { "code": 401, "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", "errors": [ { "message": "Login Required.", "domain": "global", "reason": "required", "location": "Authorization", "locationType": "header" } ], "status": "UNAUTHENTICATED" } }
HTTP PUT request to https://admin.googleapis.com/admin/directory/v1/users/@USER:ID@?key=KEYThis is what we are seeing. We have tried adding a key to the end of the URL and no luck. Any ideas?
You received this message because you are subscribed to the Google Groups "pwm-general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pwm-general...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pwm-general/4ae1c0e4-cd8a-4fb6-98a9-08ffc4c83149n%40googlegroups.com.
Paul Hodgdon
Principal Consultant | Identity Works LLC
Epping | New Hampshire
03042 | USA
+1 603 661 1508 (mobile) | +1 603 734 2681 (office)
www.identityworksllc.com
Paul Hodgdon
Principal Consultant | Identity Works LLC
Epping | New Hampshire
03042 | USA
+1 603 661 1508 (mobile) | +1 603 734 2681 (office)
www.identityworksllc.com
To view this discussion on the web visit https://groups.google.com/d/msgid/pwm-general/94da4ae8-ee55-46d7-ae84-32c328f91be1n%40googlegroups.com.
You can do it, the OAUTH section in PWM is for sign in, nothing else, Ill see if I can find our old info from years back to give you a working example, if I remember correctly, you create a service account in google dev console and generate the token there
To view this discussion on the web visit https://groups.google.com/d/msgid/pwm-general/94da4ae8-ee55-46d7-ae84-32c328f91be1n%40googlegroups.com.
I went back into old pwm configs, the parameters I had sent were correct, you do need the token, and use a service account in gsuite with permissions setup, I went into our dev console and of course the project was destroyed when we stopped using it years ago like it should have been. Since you do have gsuite, you can easily reach out to Google support and they will walk you through setting it up, not the pwm side of course
To view this discussion on the web visit https://groups.google.com/d/msgid/pwm-general/69622c76-00dd-4050-924d-d076346bfd12n%40googlegroups.com.