EJ
05/23/2023, 8:57 PMEJ
05/23/2023, 8:59 PMrp_st
05/24/2023, 4:28 AMrp_st
05/24/2023, 5:10 AMSession.getAccessToken
function.
- Once on client.com/callback page, you should extract the access token from the query param, and send it to the backend of client.com. Let's call this backend api.client.com
- api.client.com then verifies the access token using any jwt verification lib (querying the jwks endpoint from the auth.com's backend).
- post access token verification, client.com can create its own session to keep the user logged into that site.
Note that this approach will only work if all the client.com sites are controlled by you. Once we have oauth 2.0 features, you can easily replace this with the standard Auth code grant flow via PKCE / client secret.rp_st
08/28/2023, 10:53 AMemtec
08/28/2023, 11:04 AMrp_st
08/28/2023, 11:05 AMrp_st
08/28/2023, 11:05 AMrp_st
08/28/2023, 11:05 AMrp_st
08/28/2023, 11:05 AMrp_st
08/28/2023, 11:05 AMemtec
08/28/2023, 11:08 AMrp_st
08/28/2023, 4:21 PMemtec
08/29/2023, 8:49 AMemtec
08/29/2023, 8:50 AMrp_st
08/29/2023, 11:31 AMemtec
08/29/2023, 3:03 PMrp_st
08/29/2023, 3:05 PMemtec
08/29/2023, 3:36 PMrp_st
08/29/2023, 3:36 PMemtec
08/29/2023, 3:36 PMemtec
08/29/2023, 3:37 PMrp_st
09/07/2023, 5:07 PM