Skip to content

Commit

Permalink
npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
louischan-oursky committed Mar 14, 2024
1 parent 4b43343 commit 9c83b98
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/authgear-core/src/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,10 @@ export class _BaseContainer<T extends _BaseAPIClient> {

const responseType = options.responseType;
query.append("response_type", responseType);
if (responseType === "code" || responseType === "urn:authgear:params:oauth:response-type:settings-action") {
if (
responseType === "code" ||
responseType === "urn:authgear:params:oauth:response-type:settings-action"
) {
// Authorization code need PKCE.
const codeVerifier = await this._delegate._setupCodeVerifier();
await this._delegate.storage.setOIDCCodeVerifier(
Expand Down

0 comments on commit 9c83b98

Please sign in to comment.