SRAM Authentication Demo

This demo application demonstrates OIDC authentication with SURF Research Access Management (SRAM).

Not Authenticated

Click the button below to login with your institutional account via SRAM.

Login with SRAM

How it works

  1. Click "Login with SRAM" to initiate the OIDC flow
  2. You'll be redirected to SRAM to select your institution
  3. Authenticate with your institutional credentials
  4. SRAM redirects you back with your identity claims

API Access

For programmatic access, use a Bearer token with the /api/protected endpoint:

curl -H "Authorization: Bearer YOUR_TOKEN" https://sram-demo.ewi.tudelft.nl/api/protected