Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OIDC back channel logout #682

Merged

Conversation

mfolker-sage
Copy link
Contributor

Changes

Support for setting Back-Channel Logout URI's and initiators on all clients.

References

Implement support for Auth0 API endpoints here:

Back-Channel Logout URI

Testing

I have tested the changes to the SDK and validated they generate valid JSON, i.e.

{"app_type":"native","token_endpoint_auth_method":"client_secret_post","client_metadata":{"Prop1":"1","Prop2":"2"},"is_first_party":true,"name":"int-test C9qIfV3RKUueJGflFsptA","oidc_logout":{"backchannel_logout_urls":["https://logout.com"],"backchannel_logout_initiators":{"mode":"custom","selected_initiators":["rp-logout","idp-logout"]}}}

And

{"app_type":"native","token_endpoint_auth_method":"client_secret_post","client_metadata":{"Prop1":"1","Prop2":"2"},"is_first_party":true,"name":"int-test GxRjxrHRhkqGpr1QZNGgBA","oidc_logout":{"backchannel_logout_urls":["https://logout.com"],"backchannel_logout_initiators":{"mode":"all"}}}

I have tested this JSON directly against the Auth0 management API.

I am unable to run the tests locally as the documentation is not clear, creating client-secrets.json does not result in values being read from that file. A clearer read me would be appreciated.

Checklist

@frederikprijck
Copy link
Member

frederikprijck commented Dec 14, 2023

Thanks for the PR.

I am unable to run the tests locally as the documentation is not clear, creating client-secrets.json does not result in values being read from that file. A clearer read me would be appreciated.

You are unable to run all tests locally, as u need a heavily configured enterprise tenant. What you can do is run your own few tests locally and pass the correct values for your own tenant. But I am happy to look at that.

@frederikprijck frederikprijck changed the title Features/add OIDC back channel logout Add OIDC back channel logout Dec 14, 2023
@frederikprijck
Copy link
Member

Thanks 🚀

@frederikprijck frederikprijck merged commit d293d91 into auth0:master Dec 14, 2023
1 check failed
This was referenced Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants