comissions-app-ui/pages/api/auth/[...auth0].tsx

7 lines
261 B
TypeScript
Raw Normal View History

2024-02-10 20:33:24 -05:00
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)
}
2024-02-10 20:33:24 -05:00
export default handleAuth();