Skip to content

Multiple Authentication with AdonisJS V5 #1463

Answered by thetutlage
jmartecep asked this question in Help
Discussion options

You must be logged in to vote

Roles based authorization should be handled using the Authorization layer and not authentication. Users should always authenticate in one way, should live in one table, but assigned different roles.

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
3 replies
@jmartecep
Comment options

@ghost

This comment was marked as off-topic.

@popovicieduard

This comment was marked as off-topic.

Comment options

You must be logged in to vote
3 replies
@nickngqs
Comment options

@popovicieduard
Comment options

@jmartecep
Comment options

Answer selected by jmartecep
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@fairhat
Comment options

@jmartecep
Comment options

@fairhat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
5 participants