Skip to content
Advertisement

Tag: oauth-2.0

Question for Accessing MS Graph Using Client Credentials One Drive?

I can’t seem to grasp my error this is the result of the JSON return it’s not telling me anything I don’t know what’s wrong, I looked at the token and I have roles by the way I have client_credentials token Update: I tried on https://developer.microsoft.com/en-us/graph/graph-explorer using this api https://graph.microsoft.com/v1.0/drive/root it works on that website, But in postman it won’t

Can you please let me know why the following javascript code is not always hitting in the following simple index.html?

I am following https://spring.io/guides/tutorials/spring-boot-oauth2/ and reference to source code is https://github.com/spring-guides/tut-spring-boot-oauth2/tree/main/click. But you don’t need to understand the full code. I have one basic question. Basically whenever I am loading the page the callback method in $.get(“/user”, function(data) { is not always hitting. What does the $.get(“/user”) – refers to. Isn’t it mean hitting the /user endpoint provided by the

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 do this in Javascript?

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 store is empty. Do you have any ideas about what causes this problem? loggedIn: is

passport Unknown authentication strategy “local”, “facebook”, “google”

I’m building a register system where a user can login with Facebook, Google, or locally. Whenever I post via any login strategy I get uknown strategy error. I think I did connect all files all together. I did check every solution, on stackoverflow, but can’t find anything that could help aht the moment. My code: https://github.com/ExadelPraktika/Back-exabook/tree/backend_full Answer added require(‘../passport’); in

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 token_endpoint as described here. The exchange is

Advertisement