I have a phoenix application which uses Pow, ex_oauth2_provider and phoenix_oauth2_provider. Then I have a SPA application that will authenticate in this phoenix application. So I created the application with the link
“oauth_application_path GET / oauth / applications / new PhoenixOauth2Provider.ApplicationController: new”.
The authentication works well I receive a code which will be transformed into a token but my problem is the disconnection of the SPA application. how should i proceed?
I revoke the token but the pow session how can i kill it? I’m in the SPA deconnexion button