Add Custom Claim Types

As I’ve checked your Code there are no problem in it.

Here’s what I want you to do:

Check if the cache was clear. If your cache was not cleared you can
clear it like this: CTRL+SHIFT+DELETE

It’s because during your login, it will save in cookies and it was not clear, and it happens that the new claim was not save in the cookies.

Or try to check if your UserGroupID has a value.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)