-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from openfort-xyz/feat/facebook-oauth
feat: add facebook as oauth provider
- Loading branch information
Showing
14 changed files
with
149 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
packages/internal/openapi-clients/src/backend/models/facebook-oauth-config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Openfort API | ||
* Complete Openfort API references and guides can be found at: https://openfort.xyz/docs | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* Contact: founders@openfort.xyz | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
// May contain unused imports in some cases | ||
// @ts-ignore | ||
import { OAuthProviderFACEBOOK } from './oauth-provider-facebook'; | ||
|
||
/** | ||
* | ||
* @export | ||
* @interface FacebookOAuthConfig | ||
*/ | ||
export interface FacebookOAuthConfig { | ||
/** | ||
* Enable OAuth provider. | ||
* @type {boolean} | ||
* @memberof FacebookOAuthConfig | ||
*/ | ||
'enabled': boolean; | ||
/** | ||
* | ||
* @type {OAuthProviderFACEBOOK} | ||
* @memberof FacebookOAuthConfig | ||
*/ | ||
'provider': OAuthProviderFACEBOOK; | ||
/** | ||
* Facebook API client ID. | ||
* @type {string} | ||
* @memberof FacebookOAuthConfig | ||
*/ | ||
'clientId': string; | ||
/** | ||
* Facebook API client secret. | ||
* @type {string} | ||
* @memberof FacebookOAuthConfig | ||
*/ | ||
'clientSecret': string; | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
packages/internal/openapi-clients/src/backend/models/oauth-provider-facebook.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Openfort API | ||
* Complete Openfort API references and guides can be found at: https://openfort.xyz/docs | ||
* | ||
* The version of the OpenAPI document: 1.0.0 | ||
* Contact: founders@openfort.xyz | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
|
||
export const OAuthProviderFACEBOOK = { | ||
Facebook: 'facebook' | ||
} as const; | ||
|
||
export type OAuthProviderFACEBOOK = typeof OAuthProviderFACEBOOK[keyof typeof OAuthProviderFACEBOOK]; | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export const VERSION = '0.7.3'; | ||
export const VERSION = '0.7.4'; | ||
export const PACKAGE = '@openfort/openfort-js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters