nova_auth_oidc_client_credentials (nova_auth_oidc v0.1.1)
View SourceClient credentials flow for machine-to-machine authentication. Obtains and caches access tokens using the OAuth2 client credentials grant.
Usage
{ok, AccessToken} = nova_auth_oidc_client_credentials:get_token(my_oidc_config, authentik),
%% Use AccessToken to call another service
Summary
Functions
Get a (possibly cached) M2M access token for the given provider.
Get a M2M access token with specific scopes.
Force refresh the cached M2M token.
Functions
Get a (possibly cached) M2M access token for the given provider.
Get a M2M access token with specific scopes.
Force refresh the cached M2M token.