dispatch icon indicating copy to clipboard operation
dispatch copied to clipboard

Okta integration issue in dispatch

Open csetarun2 opened this issue 4 years ago • 4 comments

I'm trying to integrate okta for identity management to dispatch application (instead of creating users manually)

here is my variables added inside .env

DISPATCH_AUTHENTICATION_PROVIDER_SLUG=dispatch-auth-provider-pkce DISPATCH_JWT_AUDIENCE=xxxxxxxxxxxxxx DISPATCH_PKCE_DONT_VERIFY_AT_HASH=true DISPATCH_AUTHENTICATION_PROVIDER_PKCE_JWKS=https://trial-xyz.okta.com/oauth2/v1/keys VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_PKCE_CLIENT_ID=xxxxxxxxxxxxxxx VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_PKCE_OPEN_ID_CONNECT_URL=trial-xyz.okta.com VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_SLUG=dispatch-auth-provider-pkce VUE_APP_DISPATCH_CLIENT_ID=xxxxxxxxxxxxxxxxxxx VUE_APP_DISPATCH_OPEN_ID_CONNECT_URL=trial-xyz.okta.com

here is my okta side conf, a1

I couldnt able to do,

a2

Did anyone used okta, can you please guide me to integrate with disptach, what Im doing wrong here

csetarun2 avatar Oct 24 '22 13:10 csetarun2

image

csetarun2 avatar Oct 25 '22 05:10 csetarun2

We have had folks successfully setup Dispatch with Okta. While I am not super familiar with that IdP I do see some history using the id token instead of the access token. I.e. setting VUE_APP_DISPATCH_AUTHENTICATION_PROVIDER_USE_ID_TOKEN=true in the config while building the project.

See: https://hawkins.gitbook.io/dispatch/administration-guide/server#vue_app_dispatch_authentication_provider_use_id_token-default-false https://developer.okta.com/docs/reference/api/oidc/#id-token

kevgliss avatar Oct 25 '22 15:10 kevgliss

Thanks @kevgliss for your help, I will check and let you know

csetarun2 avatar Oct 27 '22 06:10 csetarun2

Thanks @kevgliss , I could able to integrate okta, there is one more issue Im facing, can u check this https://github.com/Netflix/dispatch/issues/1597 getting blank page , added screenshots in the (https://github.com/Netflix/dispatch/issues/1597#issuecomment-1304554566), can you please check https://github.com/Netflix/dispatch/issues/1597#issuecomment-1304554566

csetarun2 avatar Nov 05 '22 14:11 csetarun2