Slack OpenID Plugin

I’m trying to enable users to login to my app with their Slack credentials. I’ve created a Slack app and configured the OpenID plugin with those credentials in WeWeb.

Then I created a button with an OpenID workflow of Login with Popup. However, it errors out with a “Network Error”.

I’m unsure of how to troubleshoot this further or where to go from here.

Hey. Maybe you could also add the Network error? Ideally from the Network tab?

Of course. Thanks @Broberto

On the WeWeb log side I get this:

name: "Error"
stack: "Error: Network Error at s.onerror (https://cdn.weweb.io/components/01af5352-af71-4382-844b-2ec141ff243b/15e7c53e-e2c5-4f4d-931d-146f6c7645e4/dist/manager.js:2:29330)"
message: "Network Error"

In Dev Tools, an “openid-configuration” item appears

Under the Console, it’s mentioning a CORS issue.

Access to fetch at 'https://slack.com/.well-known/openid-configuration' from origin 'https://XXXXX' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
The FetchEvent for "https://slack.com/.well-known/openid-configuration" resulted in a network error response: the promise was rejected.
Promise.then (async)

Is this is bug or some config I missed. There’s so few options on this plugin, so not sure what it could be.

Maybe @Joyce in her amazing wisdom could shed some light on it? Sorry to ping, but I’m scratching my head on this one.