Skip to content

Commit

Permalink
Merge branch 'main' into chore/fix-format
Browse files Browse the repository at this point in the history
  • Loading branch information
k-taro56 committed Jun 14, 2024
2 parents 4646717 + df3ff6a commit 631067d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/pages/guides/integrating-third-party-backends.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ These tokens can be used to authorize requests to backends that are supporting t
For example:

- GitHub's `access_token` will give you access to GitHub's APIs.
- Self-managed providers (like Keycloak) can be used to authorize against custom third-party backends.
- Self-managed providers (like [Keycloak](https://www.keycloak.org), [`oidc-provider`](https://github.com/panva/node-oidc-provider), etc.) can be used to authorize against custom third-party backends.

## Storing the token in the session

Expand Down Expand Up @@ -75,3 +75,5 @@ app.get("*", jwtCheck, (req, res) => {
- Further examples for different backend frameworks can be found [here](https://github.com/nextauthjs/authjs-third-party-backend/tree/main).
- A full example of how to integrate a client app with a third-party API can be found in the [next-auth-example](https://github.com/nextauthjs/next-auth-example).
- [Keycloak](https://www.keycloak.org) - Open Source Identity and Access Management For Modern Applications and Services
- [`oidc-provider`](https://github.com/panva/node-oidc-provider) - OpenID Certified™ OAuth 2.0 Authorization Server implementation for Node.js
4 changes: 2 additions & 2 deletions packages/core/src/providers/osu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface OsuUserCompact {
avatar_url: string
country_code: string
default_group: string
id: string
id: number
is_active: boolean
is_bot: boolean
is_deleted: boolean
Expand Down Expand Up @@ -127,7 +127,7 @@ export default function Osu<P extends OsuProfile>(
userinfo: "https://osu.ppy.sh/api/v2/me",
profile(profile) {
return {
id: profile.id,
id: profile.id.toString(),
email: null,
name: profile.username,
image: profile.avatar_url,
Expand Down

0 comments on commit 631067d

Please sign in to comment.