Skip to content

OAuth documentation shows incorrect configuration #13325

@enzeart

Description

@enzeart

What is the improvement or update you wish to see?

The configuration for auth.ts shown here causes an error:

TS2322: Type
<P extends KeycloakProfile>(options: OAuthUserConfig<P>) => OAuthConfig<P>
is not assignable to type Provider
auth.ts(5, 15): Did you mean to call this expression?

This appears to be a known issue with the documentation that was never addressed. Can you please turn this into a fully-functioning example?

Is there any context that might help us understand?

N/A

Does the docs page already exist? Please link to it.

https://authjs.dev/getting-started/authentication/oauth

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions