Currently redirects if user is not part of ATC organization to login/register pages. Implemented condition to check if user is part of ATC, but user's role does not match role parameters. Need to specify page it redirects to.
Couldn't fetch email from Auth0's database, and then pass that email as an argument to check what role that email is tied to within our ATC database for this step.
Currently redirects if user is not part of ATC organization to login/register pages. Implemented condition to check if user is part of ATC, but user's role does not match role parameters. Need to specify page it redirects to.
Couldn't fetch email from Auth0's database, and then pass that email as an argument to check what role that email is tied to within our ATC database for this step.