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

added support for nextauth / strapi credentials sign in #146

Closed

Conversation

ghost
Copy link

@ghost ghost commented Feb 6, 2021

added axios package
added support for NextAuth / strapi credentials sign in

@vercel
Copy link

vercel bot commented Feb 6, 2021

@oddnugget is attempting to deploy a commit to a Personal Account owned by @ghoshnirmalya on Vercel.

@ghoshnirmalya first needs to authorize it.

@ghost
Copy link
Author

ghost commented Feb 6, 2021

#39

@vercel
Copy link

vercel bot commented Feb 6, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ghoshnirmalya/nextjs-strapi-boilerplate/9v8f0mftu
✅ Preview: https://nextjs-strapi-git-fork-nuggetofodium-strapi-credentials-b7268d.ghoshnirmalya.vercel.app

@@ -5,13 +5,46 @@ import IAccount from "types/account";
import iToken from "types/token";
import IUser from "types/user";
import ISession from "types/session";
import axios from "axios";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NuggetOfOdium Can you use fetch instead of axios?

Next.js already ships with a polyfill for fetch. So, it'd be good to stick with fetch.

@vygandas
Copy link

If there's a sign-in, there should be a sign-up too. Otherwise a bit useless feature 😊

Repository owner closed this by deleting the head repository May 4, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants