robsontenorio / laravel-keycloak-guard

🔑 Simple Keycloak Guard for Laravel
MIT License
434 stars 141 forks source link

Use 'realm_access' attribute instead of 'resource_access' #83

Closed vlauciani closed 1 year ago

vlauciani commented 2 years ago

Hi

Is there a way to use/check 'realm_access' attribute instead of 'resource_access'?

Thank you.

palla451 commented 2 years ago

Hi

Is there a way to use/check 'realm_access' attribute instead of 'resource_access'?

Thank you.

I have the same problem as you

robsontenorio commented 1 year ago

You have full access to the token through Auth::token(), So you can do any additional logic.

image