# PRIMA authentication

PRIMA (PRIMA - Proaktiv für Reform, Initiative, Medizin und Austausch, Verein zur Förderung studentischer Interessenvertretung) betreibt **primamed.at** (Marketing) und **app.primamed.at** (App).

## Für Studierende (Browser)

- **Login:** https://app.primamed.at/login
- **Voraussetzung:** Medizinische Universität Wien Studierenden-Mail (`@students.meduniwien.ac.at`)
- **Verfahren:** Passwortloser Login per E-Mail-Code oder Magic Link (Session-Cookie, HttpOnly)
- **Kein** separates OAuth/OIDC für Drittanbieter-Clients

## Für KI-Agenten und Integratoren

PRIMA stellt **keine OAuth-Client-Registrierung** für autonome Agenten bereit. Bitte:

1. Öffentliche Inhalte über **llms.txt** (https://primamed.at/llms.txt) und **Markdown-Negotiation** (`Accept: text/markdown` auf /, /impressum, /datenschutz) lesen.
2. Geschützte Inhalte und APIs auf **app.primamed.at** nur im Browser-Kontext nach Anmeldung der Nutzerin bzw. des Nutzers nutzen.
3. Keine Automatisierung von Login-Codes oder Magic Links ohne ausdrückliche Zustimmung der Person.

## Machine-readable discovery

| Resource | URL |
| --- | --- |
| API catalog (RFC 9727) | https://primamed.at/.well-known/api-catalog |
| OpenAPI (public) | https://primamed.at/openapi.json |
| OAuth Protected Resource (App) | https://app.primamed.at/.well-known/oauth-protected-resource |
| ARD catalog | https://primamed.at/.well-known/ai-catalog.json |
| Agent skills index | https://primamed.at/.well-known/agent-skills/index.json |

## Kontakt

Bei Fragen zu API-Zugang oder Partnerschaften: info@primamed.at
