HOAuth2 Demo

Authorization Code flow

{{#idps}}
{{^isLogin}} Sign in with {{idpName}} {{/isLogin}} {{#isLogin}}

Welcome to {{idpName}}

{{#user}}
Hello, {{name}}
{{/user}} Logout Refresh {{/isLogin}}
{{/idps}}

Password flow

{{#idps}} {{#hasPasswordGrant}}
Sign-in with {{idpName}}
{{/hasPasswordGrant}} {{/idps}}

Client Credentials flow

{{#idps}} {{#hasClientCredentialsGrant}}
Sign-in with {{idpName}}
{{/hasClientCredentialsGrant}} {{/idps}}

JWT Bearer flow

Test Google service account

Device Auth flow

{{#idps}} {{#hasDeviceGrant}}
Sign-in with {{idpName}}
{{/hasDeviceGrant}} {{/idps}}

Notes

  1. For Slack, the callback url has to be https and without any port hence also need manual intervention. (TODO: add tls to the server)