thefrontside / simulacrum

A simulation platform for use during testing, during development and for high-fidelity application previews
85 stars 14 forks source link

Refresh token #252

Closed dagda1 closed 1 year ago

dagda1 commented 1 year ago

Motivation

Add the refresh_token flow to the auth0 simulator.

Approach

Return an encoded refresh_token key from oauth/token if the grant_type is refresh_token or the scope includes offline_access.

The encoded string contains the user.id and the nonce key that can be used to look up the user and use the nonce so that new access_token and id_tokens can be created.

netlify[bot] commented 1 year ago

Deploy Preview for simulacrum canceled.

Name Link
Latest commit 3150a185dda6e3b7ab9a464f54ce176092894e0a
Latest deploy log https://app.netlify.com/sites/simulacrum/deploys/63e7f50eaa321400084c331b