common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
954 stars 90 forks source link

Granted did not prompt to configure alias on ubuntu 2024 with Bash #687

Open JoshuaWilkes opened 2 weeks ago

JoshuaWilkes commented 2 weeks ago

An issue with the first time setup led to granted not prompting to configure and alias.

The effect was that no environment variables were being expected to the shell.

Adding alias assume=". assume" manually to ~/.profile and restarting fixed the issue with env vars not being exported.

nickforsythbarr commented 2 weeks ago

Ubuntu 24.04LTS just to be certain.

nickforsythbarr commented 2 weeks ago

Can confirm on another ubuntu 24.04, fresh install - same issue, no entry added in profile (assumego hadnt been activated), and despite manual entry in this file it didn't work oddly. had to add it to users' bashrc before it began to work correctly.

By didnt work I mean you assume a profile but the credentials aren't available to the session.