Skip to content

Conversation

@ben-polinsky
Copy link
Contributor

Path toward M1 Mac support:

Replace node-sass with sass

node-sass is deprecated and does not have support for apple silicon.

Storybook 6 also had dependencies which caused builds to fail on apple silicon. Thus node 18 and the upgrade Storybook 7.

@ben-polinsky
Copy link
Contributor Author

ben-polinsky commented Sep 29, 2023

@raplemie We'll need to test this out on Windows - I actually have no idea what state the storybook was in as I couldn't run it prior to these upgrades.

(I can do it in a VM, no worries)

import { BrowserAuthorizationClient } from "@itwin/browser-authorization";

BrowserAuthorizationCallbackHandler.handleSigninCallback(window.location.toString()).catch(console.log);
BrowserAuthorizationClient.handleSignInCallback().catch(console.log);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was talking with @raplemie and he was wondering if we need the addon or if we can get away without it and put the auth directly in the app. @ben-polinsky thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have to get back to this. Yeah I could look into that when I have a chance.

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 this pull request may close these issues.

3 participants