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

steam does not require Validate OpenID Authentication #177

Closed
mavrick opened this issue Sep 16, 2024 · 1 comment · Fixed by #184
Closed

steam does not require Validate OpenID Authentication #177

mavrick opened this issue Sep 16, 2024 · 1 comment · Fixed by #184

Comments

@mavrick
Copy link

mavrick commented Sep 16, 2024

looking over the code for passport-steam they simply check if the openid.op_endpoint matches config.authorizationURL

if (query['openid.op_endpoint'] !== config.authorizationURL) {
  const error = createError({
    statusCode: 401,
    message: 'Claimed identity is invalid.',
  });
  if (!onError) throw error;
  return onError(event, error);
}

trying to run this in production with a https:// endpoint the call to https://steamcommunity.com/openid/login fails with 403

Copy link
Owner

atinux commented Sep 16, 2024

Pull request welcome if you find a way to improve the Steam support

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 a pull request may close this issue.

2 participants