0

So, I currently have a pac4j Service Provider I use as a way to login my customers to my services. It is currently browser based so as long as one is logged in to my SP and has a valid session, I can pass the session to my other services and have the session verified by my SP.

Now I need to work with a react native application. I want to use my SP to login to the native app the same way but I do not want to pass sessionids in the url. How would i normally go about this? I understand pac4j is really for browser session-based authentication...but is there a recommended pac4j way to do what i want? I suppose pac4j jwt could be of relevance here. I want to know if there is something existing I should consider or whether I would have to write a PKCE-like code on top of pac4j's I am using pac4j oauth2.

asked Mar 18, 2025 at 13:54

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.