Skip to content

Commit

Permalink
Merge pull request #254 from TokenScript/feature/socios-oauth2
Browse files Browse the repository at this point in the history
Feature/socios oauth2
  • Loading branch information
nicktaras authored Sep 14, 2023
2 parents 542d0a8 + 9847e43 commit e5a242a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socios-oauth2/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ app.get("/", function (request, response) {
response.sendFile(path.join(__dirname, "./public/index.html"));
});

app.get("/user-login-callback", async (request, response) => {
app.get("/user-login-callback", cors(), async (request, response) => {
const accessTokenData = await tokenNegotiatorServer.socios.getAccessToken(
request.query.code,
response
Expand Down

0 comments on commit e5a242a

Please sign in to comment.