comissions-app-ui/pages/api/auth/[...auth0].tsx
2024-02-25 18:34:51 -05:00

7 lines
261 B
TypeScript

import { handleAuth } from "@auth0/nextjs-auth0";
exports.onExecutePostLogin = async (event, api) => {
const namespace = 'http://schemas.microsoft.com/ws/2008/06/identity/claims/role';
//console.log(event.authorization)
}
export default handleAuth();