-
-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"org.akhq.security.rule.AKHQSecurityRule.decompressGroups(io.micronaut.security.authentication.Authentication)" is null #1640
Comments
@karolcienkosz please check the new way to handle roles/groups on the doc: https://akhq.io/docs/configuration/authentifications/groups.html. And a configuration sample here I will check and handle this NPE to display an explicit error message |
@AlexisSouquiere thx for example config. In my case it was cause by
|
Great, thanks for the update and for highlighting that I need to catch the NPE to show a better error message. |
After image update 0.24.0 --> dev akhq returns error:
![image](https://private-user-images.githubusercontent.com/33066199/293170237-fe2bf4d7-1600-482a-8cfd-25f3fa44d66f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNDMzMjAsIm5iZiI6MTcyNjA0MzAyMCwicGF0aCI6Ii8zMzA2NjE5OS8yOTMxNzAyMzctZmUyYmY0ZDctMTYwMC00ODJhLThjZmQtMjVmM2ZhNDRkNjZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDA4MjM0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTliMGI0YWY4NmU5YWY2MWEwYzRkOTkxMjFmMzI3ODFjMjFiOTAzMDczZTk1YzMyNTNmOGE0OGNlNjA2ZjA1MGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sDfLWabfE7aWM09Sgw1vZCFT6qGce-U4M2yJiYM3RY0)
Internal Server Error: Cannot invoke "java.util.Map.values()" because the return value of "org.akhq.security.rule.AKHQSecurityRule.decompressGroups(io.micronaut.security.authentication.Authentication)" is null
I've found PR1630 and ISSUE1616 with information that roles/groups should be configured in different way.
In my scenario i used akhq instaled using helm and integrated with okta. Should I change my configuration(how?) or it is a bug and for now I cannot use dev image?
Thanks in advance!
The text was updated successfully, but these errors were encountered: