Skip to content

How to access Cloudflare Pages context/env within authenticator/strategies #278

Answered by ryan0x44
ryan0x44 asked this question in Q&A
Discussion options

You must be logged in to vote

I found that context (AppLoadContext) is supported in https://github.com/sergiodxa/remix-auth/blob/main/src/strategy.ts#L51 and it appears in some stragegies (e.g. remix-auth-jwt https://github.com/takagimeow/remix-auth-jwt/blob/main/src/index.ts#L40 ) it is supported, just not the particular strategy I was looking at.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@sergiodxa
Comment options

Answer selected by ryan0x44
Comment options

You must be logged in to vote
1 reply
@brent-stone
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants