strongloop / loopback-example-access-control

An example demonstrating LoopBack access control mechanisms.
Other
370 stars 168 forks source link

ACL for third-party login #92

Closed saltukalakus closed 7 years ago

saltukalakus commented 7 years ago

There was a lot of confusion in ACL support with third-party login in this ticket.

Could you kindly provide a third-party login scenario usage in this example? It would help a lot.

saikatharryc commented 7 years ago

hi, contributors @siddhipai @fabien @aredridel @faisal i'm facing same issue here. i'm using auth0, though on first login i'm saving user info to our db. [Dont have password here] and using this user model and id to create a role. but its not working, after this:

"acls": [
    {
      "accessType": "*",
      "principalType": "ROLE",
      "principalId": "$everyone",
      "permission": "DENY"
    }
  ],

its taking post , get and all the request. missed something?

stale[bot] commented 7 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.