Skip to content

Commit 0d087d0

Browse files
committed
added redirect oauth2
1 parent d64392f commit 0d087d0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

next.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ export default withNextra({
2323
{ source: '/manifesto', destination: '/introduction/manifesto', permanent: true },
2424
{ source: '/get-started/bruno-basics', destination: '/get-started/bruno-basics/download', permanent: true },
2525

26+
// OAuth2 Experimental to OAuth2 2.0 redirects
27+
{ source: '/auth/oauth2-experimental', destination: '/auth/oauth2-2.0/overview', permanent: true },
28+
{ source: '/auth/oauth2-experimental/overview', destination: '/auth/oauth2-2.0/overview', permanent: true },
29+
{ source: '/auth/oauth2-experimental/collection-level-configuration', destination: '/auth/oauth2-2.0/collection-level-configuration', permanent: true },
30+
{ source: '/auth/oauth2-experimental/request-level-configuration', destination: '/auth/oauth2-2.0/request-level-configuration', permanent: true },
31+
{ source: '/auth/oauth2-experimental/authorization-code', destination: '/auth/oauth2-2.0/authorization-code', permanent: true },
32+
{ source: '/auth/oauth2-experimental/client-credentials', destination: '/auth/oauth2-2.0/client-credentials', permanent: true },
33+
{ source: '/auth/oauth2-experimental/password-credentials', destination: '/auth/oauth2-2.0/password-credentials', permanent: true },
34+
2635
// - /get-started links:
2736
{ source: '/tools/translator', destination: '/get-started/import-export-data/script-translator', permanent: true },
2837
{ source: '/migration-imports/postman', destination: '/get-started/import-export-data/postman-migration', permanent: true },

0 commit comments

Comments
 (0)