This is a mock OIDC provider for testing purposes. The discovery document is available at https://oidcmock.dev/.well-known/openid-configuration
To start the OIDC flow, redirect the user to the authorization endpoint:
GET https://oidcmock.dev/oauth/authorize?client_id=<your_client_id>&response_type=<response_type>&redirect_uri=<your_redirect_uri>&state=<your_state>The followingresponse_type values are supported:
codeid_tokentokenThe followingresponse_mode values are supported:
queryfragmentform_postThe following link can be used to test an implicit authorization flow:
To exchange an authorization code for a token, make a POST request to the token endpoint:
POST https://oidcmock.dev/oauth/token
Content-Type: application/x-www-form-urlencoded
grant_type=authorization_code
&code=<authorization_code>
&redirect_uri=<your_redirect_uri>
&client_id=<your_client_id>
&client_secret=test-client-secretThe default client secret is:test-client-secret