Authentication-OIDC-keycloak #3995
-
I would like to implement oidc method for authentication, but i am gettting authentication error as "The supplied authentication is not authorized to access this resource" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi. Your config Please check out examples (https://docs.nussknacker.io/documentation/docs/next/installation_configuration_guide/DesignerConfiguration#oauth2-security-module---github-example-with-code-flow and https://docs.nussknacker.io/documentation/docs/next/installation_configuration_guide/DesignerConfiguration#auth0-sample-configuration) in our documentation. I hope it will be helpful. You might also find helpful our integration test which uses |
Beta Was this translation helpful? Give feedback.
Hi. Your config
authentication.grant_type
is ignored. You setauthentication.method
=Oidc
, where it is not possible to confiugregrant_type
topassword
.authorization_code
is the only supported value forgrant_type
and is not configurable. Please see possible configuration options hereYou can set method to
OAuth2
and then provide configuration as described here.grant_type is then configured under such configpath:
authentication.accessTokenParams.grant_type
(and notauthentication.grant_type
as in your config)Please check out examples (https://docs.nussknacker.io/documentation/docs/next/installation_configuration_guide/DesignerConfiguration#oauth2-security-module---github-example-with-…