Skip to content

Port is not getting added in realm when authenticating with Steam #418

Open
@MJPetermann

Description

@MJPetermann

Hey there,
while trying to get the login with steam to work, I stumbled upon a bug, when hosting on localhost.

If your nuxt is hosted on e.g. port 3000 it causes Steam to throw a 403 Access Denied error. This happens because the realm doesn't include the port. It is easily fixed by changing the setting of the realm:
"openid.realm": `${url.protocol}//${url.hostname}:${url.port}`,
in https://github.com/atinux/nuxt-auth-utils/blob/main/src/runtime/server/lib/oauth/steam.ts

Hope this gets fixed, but till then that's the workaround :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions