You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure OidcProvider to use OidcServiceWorker
Add domains to trustedDomains, add same domains to config_show_access_token and allow to show access token.
Issue and Steps to Reproduce
Configure OidcProvider to use OidcServiceWorker
Add domains to trustedDomains, add same domains to config_show_access_token and allow to show access token.
Provider config:
OidcTrustedDomains file content (actual user domain used instead of [user_domain]):
const trustedDomains = {
default: [
'https://[user_domain].zitadel.cloud',
'https://[user_domain].zitadel.cloud/oauth/v2/token',
'http://localhost:3000',
'http://localhost:3000/workloads',
]
};
trustedDomains.config_show_access_token = {
domains: [
'https://[user_domain].zitadel.cloud',
'https://[user_domain].zitadel.cloud/oauth/v2/token',
'http://localhost:3000',
'http://localhost:3000/workloads',
], showAccessToken: true,
};
Versions
react-oidc 7.23.1
Expected
access token reachable in code
Actual
Access token still secured by OidcServiceWorker and can't be reached.
i.e. on http://localhost:3000/workloads:
returns
ACCESS_TOKEN_SECURED_BY_OIDC_SERVICE_WORKER_default_default
I need to get it, to post the token to another service as part of configuration data.
The text was updated successfully, but these errors were encountered: