Skip to content

Tag: oauth-2.0

Discord guilds.join OAuth2 in JS

I am making a bot for Discord (node.js) and I want to have it’s oauth2 so when the user adds the bot to their server and accepts the oauth app permissions, the user is automatically joined into my bot support server. I’ve seen https://dsc.gg do this, and I want to do something similar. How would I…

Keycloak with nuxt-auth module

I’m using this auth-module with Keycloak. My configuration in nuxt.config.js: The connection is OK. When I click on the “connect” button, I am redirected to my Keycloak environment. Once authenticated by Keycloak, I am redirected to my nuxt.js application. However, the problem is that my sto…

How to Login with Google?

I am trying to implement a google oauth 2.0 login without using any libraries in my Node.js application. I have created an app on the Google API console with the redirect url as http://localhost:3000. During login my response_type is code which returns a one-time use code that needs to be exchanged with the t…