---
title: "Get Userportal Auth Settings"
method: GET
path: "/userportal/auth-settings"
tags: ["userportal-public"]
---

# Get Userportal Auth Settings

`GET /userportal/auth-settings`

## Request

- Base URL: `https://api.feedback1.ai/api/v1`
- URL: `https://api.feedback1.ai/api/v1/userportal/auth-settings`
- Auth: none declared

Get authentication settings for the current product.

Returns which auth methods are enabled (SSO, email/password, Google, Microsoft).

## Headers

- `F1-Product` string

## Response `200`

Successful Response

- ProductAuthSettings: Per-product authentication configuration for userportal. OAuth providers (Google, Microsoft) are enabled by default using Feedback1's global credentials. Custom OAuth credentials per tenant is an enterprise feature.
  - `sso_enabled` boolean: Enable JWT-based SSO authentication
  - `saml_enabled` boolean: SAML SSO available for this product
  - `saml_provider_name` string, nullable: Name of the SAML IdP if enabled
  - `saml_login_url` string, nullable: URL to initiate SAML login
  - `email_auth_enabled` boolean: Enable email/password authentication
  - `allow_signup` boolean: Allow new user registration
  - `require_email_verification` boolean: Require email verification for new signups
  - `google_oauth_enabled` boolean: Enable Google OAuth sign-in (uses Feedback1 credentials by default)
  - `microsoft_oauth_enabled` boolean: Enable Microsoft OAuth sign-in (uses Feedback1 credentials by default)
  - `require_auth_to_vote` boolean: Require authentication to vote on features
  - `require_auth_to_comment` boolean: Require authentication to comment on features
  - `widget_opener_hosts` string[]: Hosts allowed as the widget-auth postMessage target

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/feedback1/apis/feedback1-public-api.md) · [All operations](https://skmtc.dev/feedback1/apis/feedback1-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/feedback1/apis/feedback1-public-api/revisions/e7626420f622?raw)
