feat(xo-server-auth-saml): allow customizing callback URL (#6278)
This will allow you to enter the full path of the callback URL. As stated in issue #6108 the SAML plugin wont work with Azure AD as the callback URL needs to be HTTPS. This was solved by @jens-rabe
This commit is contained in:
parent
b63086bf09
commit
c7d3230eef
@ -29,5 +29,6 @@
|
||||
|
||||
- @xen-orchestra/mixins patch
|
||||
- xo-web patch
|
||||
- xo-server-auth-saml minor
|
||||
|
||||
<!--packages-end-->
|
||||
|
@ -11,6 +11,11 @@ export const configurationSchema = {
|
||||
'Important: When registering your instance to your identity provider, you must configure its callback URL to `https://<xo.company.net>/signin/saml/callback`!',
|
||||
type: 'object',
|
||||
properties: {
|
||||
callbackUrl: {
|
||||
title: 'callbackUrl',
|
||||
description: "the callback URL",
|
||||
type: 'string',
|
||||
},
|
||||
cert: {
|
||||
title: 'Certificate',
|
||||
description: "Copy/paste the identity provider's certificate",
|
||||
@ -60,10 +65,9 @@ class AuthSamlXoPlugin {
|
||||
this._conf = {
|
||||
...this._strategyOptions,
|
||||
...DEFAULTS,
|
||||
...conf,
|
||||
|
||||
// must match the callback URL
|
||||
path: '/signin/saml/callback',
|
||||
|
||||
...conf,
|
||||
}
|
||||
|
||||
if (loaded) {
|
||||
|
Loading…
Reference in New Issue
Block a user