Replies: 3 comments 7 replies
-
I've already heard from a number of oauth-proficient developers that successfully moved their projects to this module and the examples that are present were immensely helpful to them just for the sole purpose of identifying the routines for a given JTBD. This library and its examples are intentionally low level and framework-less so that, as written in the readme, framework-specific client modules may be written utilizing it. Such effort would be carried out by a developer aware of the individual required routines and their placement. I think it's fair to say that if, given the example code, you don't know what to put where in your project, then you're not the target audience for this module and ideally, someone would write [insert your framework of choice here] abstraction that would be suitable for you. It is absolutely not feasible to write working examples for all the flows for all the popular frameworks in all the target supported runtimes. That being said, rather than asking for "better examples", why don't you shed light on what you want to achieve, what's your target environment like, etc. in a Q&A discussion.
I'll attempt to put an explainer on top of the individual examples stating their intended use. |
Beta Was this translation helpful? Give feedback.
-
@panva do you know if any are open source or maybe have an article/video around it? I'm seeing if I can get a code/PKCE flow working in Remix or Next.js and while the examples are helpful and better than scratch, it does feel like there could be more so everyone isn't reinventing the wheel. I'm sure I'll land on something eventually, but having a deeper example of what I would think would be a pretty common implementation in the JS/React world would be nice and prevent people from all duplicating work. |
Beta Was this translation helpful? Give feedback.
-
What threw me off about the PKCE example is how is the |
Beta Was this translation helpful? Give feedback.
-
I've looked at your project and the examples.
And while looking at the examples, I was like, how the heck is that supposed to be working????
Until I've realized, that this are none working examples ;-). Just some abstract ideas how the whole thing could be implemented.
Would be cool to have working examples. Or at least some comments in the examples which clearly states that they are none working, and what would be needed to make them work.
Beta Was this translation helpful? Give feedback.
All reactions