question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pulling correct Magic Type / Redwood.js Integration

See original GitHub issue

✅ Prerequisites

  • Did you perform a cursory search of open issues? Is this question already asked elsewhere?
  • Are you reporting to the correct repository (magic-sdk)?

❓ Question

Best Method to pull types for Magic Client (New …

I have been working on the auth implementation of magic links for Redwood.js!

We have most of the implementation done but i could not find an easy way to pull the client type into the auth wrapper.

is there a simpler type than

SDKBase<MagicSDKAdditionalConfiguration<string, any>> & {
    [x: string]: Pick<Extension<string>, never>;
}

if you wanted to quickly look through the pull request and check that i have implemented it all properly please do! I would love some insight. Pull request - here

Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Authentication | RedwoodJS Docs
For example, if a user's credentials are correct, but they haven't verified their email ... Magic.Link Auth Provider Specific Integration​. See the Magic....
Read more >
Magic.Link Authentication | RedwoodJS Docs
The Redwood API does not include the functionality to decode Magic.link authentication tokens, so the client is initiated and decodes the tokens inside...
Read more >
Creating a Comment Form | RedwoodJS Docs
Let's generate a component to house our new comment form, build it out and integrate it via Storybook, then add some tests:
Read more >
Testing in Redwood - RedwoodJS Community
I'd need to update all the mocks of the domain that changed. MirageJS has a neat way of mocking API's that works in...
Read more >
Custom github JWT Auth with Redwood Auth
I started this auth work before firebase and magic link were PRd, ... use AWS Secrets Manager, and pull the values at build...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found