Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty string refresh_token #1

Open
tequdev opened this issue Jan 24, 2023 · 0 comments
Open

Empty string refresh_token #1

tequdev opened this issue Jan 24, 2023 · 0 comments

Comments

@tequdev
Copy link

tequdev commented Jan 24, 2023

I am trying to create a Xumm Provider in NextAuth, the Next.js authentication library.
https://github.com/nextauthjs/next-auth

An error occurs if the refresh_token is an empty string ("") in the oauth4webapi check used inside NextAuth.
https://github.com/panva/oauth4webapi/blob/87585b522a4a996bc9d42d42d00d8faa759cd1c5/src/index.ts#L1973-L1979

Please consider refresh_token for this service.
https://github.com/XRPL-Labs/XUMM-OAuth2-OpenID-Provider/search?q=refresh_token

I am not familiar with OpenID and do not know if refresh_token is an required field even if it is an empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant