mattermost-mobile/app/constants/sso.ts
Elias Nahum 30a16d0bc1
[v1] Skip LoginOptions if only one SSO method is enabled (#6097)
* Skip LoginOptions if only one SSO method is enabled

* feedback review
2022-03-30 12:13:37 -03:00

21 lines
489 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import keyMirror from '@mm-redux/utils/key_mirror';
export const REDIRECT_URL_SCHEME = 'mmauth://';
export const REDIRECT_URL_SCHEME_DEV = 'mmauthbeta://';
const constants = keyMirror({
SAML: null,
GITLAB: null,
GOOGLE: null,
OFFICE365: null,
OPENID: null,
});
export default {
...constants,
REDIRECT_URL_SCHEME,
REDIRECT_URL_SCHEME_DEV,
};