-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to use idpName instead of uuid? #66
Comments
Hi there, Just wanted to pitch in and say we are in the exact same situation, migrating from We've only tested it very briefly, but so far it looks like updating the value in the saml2_tenants table to put any string instead of a UUID works. I don't think the code actually relies on it being an actual UUID and it just needs to be unique. If this can be confirmed, all we'd need would be to rename uuid to something like tenant_id, and add an optional --tenantId option to the I'll update when I've tested this more thoroughly and maybe make a PR if there's some interest in this. |
This is exactly the band-aid solution I landed on, and it is working for us so far. Your suggestions sound reasonable to me. Coming from the other angle, though, my thought was to just have the package give us the option of using either the uuid or the key in the generated route. I don't know enough to know if that would bite us down the road. |
I am attempting to migrate from
aacotroneo/laravel-saml2
to this package. In the old package, I used theidpName
in the URL. When I create a tenant in this new package, it seems to want me to use a UUID in the URLs. For full context, here is myroute:list
output:We use on-prem ADFS for our SSO, and I have all of the IDP/Relying Party stuff setup, and I just want to migrate over to this new (actively-supported) package. Practically speaking, I will only ever have 1 tenant. How can I keep the same URL scheme as before, when I was using the Aacotroneo package?
Thanks in advance!
The text was updated successfully, but these errors were encountered: