If I assign my own applicationId for the defaultTenant then I get error telling Invalid registration role. But if I use default FUSIONAUTH_APPLICATION_ID then I don't have access to this applicationId as it is saved as a blob in the Database. So if you can provide me either a way:
- To create an admin when using my applicationId for defaultTenantId
- To access the default application id after it is created thru kickstart
That will be very helpful.
The default FusionAuth Application Id cannot be changed. The default can be referenced using
FUSIONAUTH_APPLICATION_ID
. So if you create a new application, you will not be able to use the FusionAuth role namedadmin
unless you create that same role in your application.If you want to create a new application, you can use a hard coded applicationId so it can be used elsewhere, or you can generate one using the
UUID()
function and then store it in a variable.https://fusionauth.io/docs/v1/tech/installation-guide/kickstart