Civic Auth can be integrated into other environments using any OIDC or OAuth 2.0-compliant client libraries.
https://auth.civic.com/oauth
openid,email,profile
client_id
: Your application’s unique identifier provided by Civic Auth.
redirect_uri
: The URL to which users should be redirected after authentication.
scope
: The permissions your application is requesting (e.g., email
, profile
, openid
).
state
: A random string to maintain state between the request and callback.
code_challenge
: A code challenge derived from the code verifier for PKCE.
code_challenge
parameter is obligatory. For more information, see PKCE (Proof Key for Code Exchange).Sample code
client_id
: Your application’s unique identifier provided by Civic Auth.
refresh_token
: The refresh token from the user’s existing session
grant_type
: a string ‘refresh_token’