Add support for google-apps connection strategy options #422
Add support for google-apps connection strategy options #422
Conversation
626608f
to
f0f0fd1
Compare
@alexkappa Any chance this could be deployed soon ?? |
Looks like some options are still missing
|
The should be getting set by the
|
Why this is not still merged |
Hey folks, we're gonna take a look ASAP at this PR. Apologies for the delay and thanks for 馃惢 ing with us! |
FYI It was a follow-on from this PR in the auth0 go library go-auth0/auth0#221 that was needed to allow this. |
Thanks a lot for that reference @mattoddie and for the contribution. I reviewed the PR and the way to implement this seems correct however there's a big mismatch between the google-apps options presented in this PR and the ones on the actual management API: // actual payload used to manage a google apps conn strategy
{
"options": {
"api_enable_users": true,
"client_id": "someClientID",
"client_secret": "someClientSecret",
"domain": "someDomain",
"email": true,
"ext_agreed_terms": true,
"ext_groups": true,
"ext_is_admin": false,
"ext_is_suspended": true,
"handle_login_from_social": true,
"profile": true,
"scope": [
"email",
"profile"
],
"tenant_domain": "someTenantDomain",
"set_user_root_attributes": "on_first_login",
"domain_aliases": ["test.com"],
"icon_url": "the-icon-url.com"
}
} How did we end up with these instead?
|
@sergiughf it was a while ago so trying to remember all this, however I think the fields I was trying to work with were based on the previous PR in the library go-auth0/auth0#212. The fields such as |
Hey @mattoddie, I really appreciate the patience with this one. I had a lengthy testing session for this PR and found one small issue with the scopes, that actually originates within the go-auth0 SDK, so I ended up fixing that go-auth0/auth0#258. As we're not yet cutting a release and we're not referencing explicitly Awesome effort on this one. We really appreciate the contribution! 馃弳 |
Proposed Changes
Acceptance Test Output
Community Note