Skip to content

Commit

Permalink
fix: Rename oauth2 to oauth2provider
Browse files Browse the repository at this point in the history
  • Loading branch information
anku255 committed Jul 31, 2024
1 parent 1a4f173 commit a297391
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/build/emailverification-shared2.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/build/index2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/build/multifactorauthprebuiltui.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion lib/build/oauth2provider-shared.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/build/passwordlessprebuiltui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/build/sessionprebuiltui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/build/thirdpartyprebuiltui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/build/totpprebuiltui.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/build/ui/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/ts/recipe/oauth2provider/recipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default class OAuth2Provider extends RecipeModule<
const domain = this.config.appInfo.apiDomain.getAsStringDangerous();
const basePath = this.config.appInfo.apiBasePath.getAsStringDangerous();

return `${domain}${basePath}/oauth2/login?loginChallenge=${ctx.loginChallenge}`;
return `${domain}${basePath}/oauth2provider/login?loginChallenge=${ctx.loginChallenge}`;
} else {
throw new Error("Should never come here: unknown action in OAuth2Provider.getDefaultRedirectionURL");
}
Expand Down
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a297391

Please sign in to comment.