fix: Workflow extension loading without oauth
Issue: #323 (closed)
Description
- Previously we never created the auth provider if a token was not found.
- This caused things to blow up on the Workflow extension since it was expecting an auth provider.
- Now we always create the authProvider, it just won't always have a session.
How to test
- Start Web IDE example app with Authentication Type set to None.
- Check the browser console log and verify that the message
Fetching resource from https://gdk.test:3443/api/v4/user failed (401).
shows instead ofTimed out waiting for authentication provider to register.
.
Screenshot
Before | After |
---|---|
Edited by Paul Slaughter