PlatformIO Community

IDE Bug (VSCode) - Login with social

Hello,

When trying to log in to my PlatformIO account from the IDE (VSCode) when using a social connection (GitHub in my case), it appears to send you to the wrong URL:
https://auth.accounts.platformio.org/auth/realms/pioaccount/protocol/openid-connect/auth
This results in a 404 error.

If I change the URL to match the format used when using the reset password link, it then works correctly:
https://auth.accounts.platformio.org/realms/pioaccount/protocol/openid-connect/auth

And that happens with the latest PIO core too? CLIpio upgrade --dev

I’ve just upgraded to the latest version (6.1.4a2) and it still happens. (Tried GitHub and Google)

This appears to be where it is configured - It appears to have been like this for a couple of years so it looks like the server-side might be misconfigured:

Additionally it looks like the Google OIDC client is misconfigured as I get an additional error with that after correcting the URL:

Error 403: org_internal
This client is restricted to users within its organization.

(Client ID: 360127585608-jg96nd6g2f22kvgk2ai6klml6pd2raol.apps.googleusercontent.com)

CC @ivankravets for possible bug

1 Like

Thanks for reporting this bug! Please open PlatformIO CLI and type

pio upgrade

Restart VSCode.

P.S: @maxgerhardt, thanks for pinging me :pray:

1 Like

We submitted our apps for review to Google. This is from their dashboard:

Verification Status
Verification in progress

The Trust and Safety team has received your form. They will reach out to you via your contact email if needed. The review process can take up to 4-6 weeks. Expect the first email from our Trust and Safety team within 3-5 days.

Thank you, I can now log in with both GitHub and Google. The Google flow seems to work perfectly without the verification from Google, it offered to link the additional account and required email verification as you’d expect.

1 Like