You are not signed inSign in

Test OAuth Flows

This page allows you to test both the signup and login flows directly.

Test Signup Flow (with state action=signup)

This should redirect to the signup form:

Test Signup Flow
https://testsite.subrite.no/api/oidc/auth?client_id=example-client-id&response_type=code&redirect_uri=https%3A%2F%2Fstage.admin.subrite.no%2Fapi%2Fauth%2Fcallback%2Fsubrite&state=%7B%22action%22%3A%22signup%22%7D

Test Login Flow (without prompt)

This should redirect to the login form:

Test Login Flow
https://testsite.subrite.no/api/oidc/auth?client_id=example-client-id&response_type=code&redirect_uri=https%3A%2F%2Fstage.admin.subrite.no%2Fapi%2Fauth%2Fcallback%2Fsubrite

Test Already Logged In Behavior

To test auto-login when already logged in:

  1. First, log into Subrite: https://testsite.subrite.no
  2. Then click one of the test buttons above
  3. You should be automatically authenticated without seeing a login screen