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
{{ message }}
Repository navigation
Visibility of some keycloak.js adapter utility functions
#15214
In recent versions of the keycloak.js adapter it is possibile to provide custom adapters in order to suite specific scenarios.
In my case I'm providing a custom adapter for a capacitor native integration scenario. It would be useful to be able to call some utility functions, declared inside the Keycloak object, from external code such as the one inside promises.
In particular, I refer to the following functions:
processCallback(oauth,promise)parseCallback(url)
that are not visible externally since are declared inline in the code.
Are they any security related implications to keep them unaccessible from external code? Is there any workaround that makes it possible to call those functions from an external provided adapter?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
In recent versions of the
keycloak.jsadapter it is possibile to provide custom adapters in order to suite specific scenarios.In my case I'm providing a custom adapter for a capacitor native integration scenario. It would be useful to be able to call some utility functions, declared inside the
Keycloakobject, from external code such as the one inside promises.In particular, I refer to the following functions:
that are not visible externally since are declared inline in the code.
Are they any security related implications to keep them unaccessible from external code? Is there any workaround that makes it possible to call those functions from an external provided adapter?
All reactions