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 Flowhttps://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 Flowhttps://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:
- First, log into Subrite: https://testsite.subrite.no
- Then click one of the test buttons above
- You should be automatically authenticated without seeing a login screen