Skip to content

Commit

Permalink
fix: fixed bug in auth0 sign up when signing up with brand new user u…
Browse files Browse the repository at this point in the history
…sing auth provider (google)
  • Loading branch information
commoddity committed Dec 6, 2023
1 parent edd743f commit b5a3b67
Show file tree
Hide file tree
Showing 17 changed files with 3,984 additions and 3,714 deletions.
4 changes: 2 additions & 2 deletions app/models/dwh/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ info:
servers:
- url: /api/v1
security:
- apiKey: [ ]
- apiKey: []
paths:
/healthcheck:
get:
Expand Down Expand Up @@ -460,4 +460,4 @@ tags:
- name: "user"
description: "Operations related to individual portal users and their applications"
- name: "product"
description: "Operations related to the portal data as a whole"
description: "Operations related to the portal data as a whole"
70 changes: 38 additions & 32 deletions app/models/dwh/sdk/apis/SystemApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,48 +5,54 @@
* Service that provides data from DWH to the Portal
*
* The version of the OpenAPI document: 1.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


import * as runtime from '../runtime';
import * as runtime from "../runtime"

/**
*
*
*/
export class SystemApi extends runtime.BaseAPI {

/**
* Check the health of the service.
*/
async healthcheckGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
const queryParameters: any = {};

const headerParameters: runtime.HTTPHeaders = {};

if (this.configuration && this.configuration.apiKey) {
headerParameters["Portal-DWH-Service-Api-Key"] = this.configuration.apiKey("Portal-DWH-Service-Api-Key"); // apiKey authentication
}

const response = await this.request({
path: `/healthcheck`,
method: 'GET',
headers: headerParameters,
query: queryParameters,
}, initOverrides);

return new runtime.VoidApiResponse(response);
}

/**
* Check the health of the service.
*/
async healthcheckGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
await this.healthcheckGetRaw(initOverrides);
/**
* Check the health of the service.
*/
async healthcheckGetRaw(
initOverrides?: RequestInit | runtime.InitOverrideFunction,
): Promise<runtime.ApiResponse<void>> {
const queryParameters: any = {}

const headerParameters: runtime.HTTPHeaders = {}

if (this.configuration && this.configuration.apiKey) {
headerParameters["Portal-DWH-Service-Api-Key"] = this.configuration.apiKey(
"Portal-DWH-Service-Api-Key",
) // apiKey authentication
}

const response = await this.request(
{
path: `/healthcheck`,
method: "GET",
headers: headerParameters,
query: queryParameters,
},
initOverrides,
)

return new runtime.VoidApiResponse(response)
}

/**
* Check the health of the service.
*/
async healthcheckGet(
initOverrides?: RequestInit | runtime.InitOverrideFunction,
): Promise<void> {
await this.healthcheckGetRaw(initOverrides)
}
}
Loading

0 comments on commit b5a3b67

Please sign in to comment.