You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export ACCOUNT_AUTH0_DOMAIN="dev-quu8v1pqs4oq7.us.auth0.com"
export ACCOUNT_AUTH0_CLIENT_ID="YGsykmGsfj0qALk8NraBnjb"
export ACCOUNT_AUTH0_CLIENT_SECRET="7fygpnimCdxhun9Ng7wOabfyCCyz6se3NYBGoXGutbVOw6hFnGOQ"
export ACCOUNT_AUTH0_LOGOUT_URL="https://dev-quu8v1pqs4oq7.us.auth0.com/v2/logout"
export ACCOUNT_AUTH0_LOGOUT_RETURN_URL="https://compony.com/auth/logout"
export ACCOUNT_CLOAK_KEY="lvutbtvZAeuy3SFAftwky+IW4ESy6syE="
here is my env config, When I log in, I can be redirected to the authorization login page and successfully authorize. I print logs in the code and the parameters passed to put_session have values, but the method get_session(conn, :current_user) cannot retrieve the value.
The following is the user log that I printed out."
%{avatar: "https://lh3.googleusercontent.com/a/AGNmyxYRdPlRmw7aj-Ekprx5cCpIfoqgyg_BKPb0svLN=s96-c", email: "aaa@gmail.com", id: 10, name: "Rumble", nickname: "Rumble.L", uid: "google-oauth2|114928592633458978", watchlist_id: 10}
Expected Result
get_session can get personal information
Actual Result
get_session return nil
The text was updated successfully, but these errors were encountered:
Can you got more information? What is the exact scenario? Would you mind sharing information about the router? get_sesion eludes to Phoenix. Session information must be first fetched. It is usually done through a plug in the pipeline. Maybe you have default phoenix pipelines and you piped through wrong one?
Steps to Reproduce
export ACCOUNT_AUTH0_DOMAIN="dev-quu8v1pqs4oq7.us.auth0.com"
export ACCOUNT_AUTH0_CLIENT_ID="YGsykmGsfj0qALk8NraBnjb"
export ACCOUNT_AUTH0_CLIENT_SECRET="7fygpnimCdxhun9Ng7wOabfyCCyz6se3NYBGoXGutbVOw6hFnGOQ"
export ACCOUNT_AUTH0_LOGOUT_URL="https://dev-quu8v1pqs4oq7.us.auth0.com/v2/logout"
export ACCOUNT_AUTH0_LOGOUT_RETURN_URL="https://compony.com/auth/logout"
export ACCOUNT_CLOAK_KEY="lvutbtvZAeuy3SFAftwky+IW4ESy6syE="
here is my env config, When I log in, I can be redirected to the authorization login page and successfully authorize. I print logs in the code and the parameters passed to put_session have values, but the method get_session(conn, :current_user) cannot retrieve the value.
The following is the user log that I printed out."
%{avatar: "https://lh3.googleusercontent.com/a/AGNmyxYRdPlRmw7aj-Ekprx5cCpIfoqgyg_BKPb0svLN=s96-c", email: "aaa@gmail.com", id: 10, name: "Rumble", nickname: "Rumble.L", uid: "google-oauth2|114928592633458978", watchlist_id: 10}
Expected Result
get_session can get personal information
Actual Result
get_session return nil
The text was updated successfully, but these errors were encountered: