Skip to content

Commit

Permalink
Merge pull request #20090 from strapi/fix/sso-login
Browse files Browse the repository at this point in the history
Fix SSO Routes
  • Loading branch information
Christian committed Apr 12, 2024
2 parents 70b9b57 + ee219fb commit 0d82832
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/admin/admin/src/StrapiApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,8 @@ class StrapiApp {
};
},
},
// this needs to go before auth/:authType because otherwise it won't match the route
...getBaseEERoutes(),
{
path: 'auth/:authType',
element: <AuthPage />,
Expand Down Expand Up @@ -734,7 +736,7 @@ class StrapiApp {
</React.Suspense>
),
})),
...getBaseEERoutes(),

{
path: '*',
element: <NotFoundPage />,
Expand Down

0 comments on commit 0d82832

Please sign in to comment.