caddy-security
caddy-security copied to clipboard
question: authentication portal multiple identity provider?
A clear and concise description of what you want to accomplish.
Hi, I successfully used the plugin with gitlab only but I wanted to add github as a fallback and wondered how to add multiple providers to the auth portal:
security {
oauth identity provider github xxx yyy
oauth identity provider gitlab {
realm gitlab
driver gitlab
domain_name gitlab.com
client_id xxx
client_secret xxx
scopes openid email profile
user_group_filters foo
}
authentication portal myportal {
crypto default token lifetime 3600
crypto key sign-verify xxx
...
I tried
...
enable identity provider gitlab
enable identity provider github
and tried
...
enable identity provider gitlab github
but these didn't do the trick.
Could you give me a hint? Thanks.
@resmo , what happens if you do β enable identity provider gitlab githubβ?
never mind, retried enable identity provider gitlab github and it worked. Thanks for the quick reply!
@resmo , glad it worked. Will look into this issue later.