Forum - Use users which only exist in sandbox for local cloudapp
- This topic has 4 replies, 2 voices, and was last updated 1 week, 1 day ago by Michael Blyckaerts.
- AuthorPosts
- February 23, 2021 at 3:15 pm #69794Michael BlyckaertsParticipant
Hello,
I have some users who only exist on our sandbox environment, or for which theirs access are higher in sandbox.
And when I try to log in the cloudapp on my localhost with them, they don’t exist, or don’t have enough access.It seem that it’s based on the users of the production environment.
So, I would like to ask if it is possible to define that I prefer to work with sandbox users somewhere ?
Have a nice day 😉
February 23, 2021 at 7:00 pm #69799Josh WeismanKeymasterHi Michael. Thanks for your question. The environment used by the local server is set in the config.json file. If you set the env property to your sandbox URL (i.e. https://na01-psb.alma.exlibrisgroup.com/institution/01MY_INST) and restart the local server (eca start) it will point to your sandbox Alma
Hope that helps.
February 24, 2021 at 1:43 pm #69823Michael BlyckaertsParticipantHello,
Thank you for your answer 🙂Actually, I think I’am already using the sandbox url in the config.json
https://ulb-psb.alma.exlibrisgroup.com/institution/32ULDB_U_INSTMaybe am I wrong ?
Have a nice day,
February 25, 2021 at 10:05 am #69837Josh WeismanKeymasterHi Michael. That looks right. And in fact, I added a new user to your sandbox just to test that I can run the local environment with that URL, and I was able to log in. So it’s definitely working in the sandbox. Maybe you can also try creating a new user to be sure?
February 25, 2021 at 12:17 pm #69845Michael BlyckaertsParticipantThanks for your anwser. I tried with another user and it works, indeed.
The first user was linked to the organisation and need to log in with our central authentication service. The second user was created directly in alma and can log in via in the right way.
So, I will continue to user alma created user in local env, now I know it 😀Thanks again 🙂
- AuthorPosts
- You must be logged in to reply to this topic.