<OAuthButtonGroup />

Renders all the OAuth buttons enabled on the project dashboard.

OAuthButtonGroup

If there are no OAuth providers enabled in the dashboard, this component will be empty.

Props

PropTypeDefaultDescription
type
'sign-in' | 'sign-up'Specifies whether the buttons text are for sign-in or sign-up (both are the same in terms of functionality).

Example

import { OAuthButtonGroup } from '@stackframe/stack';

export default function Page() {
  return (
    <div>
      <h1>Sign In</h1>
      <OAuthButtonGroup type='sign-in' />
    </div>
  );
}

Table of Contents

Navigate this page

On this page

Stack Auth AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details.

For the most accurate information, please join our Discord or email us.

How can I help?

Ask me about Stack Auth while you browse the docs.