Open cyraid opened 6 years ago
It's done this way because during config generation, we have no idea of knowing how many auth configs there will be for an issuer config. Each set of target audiences requires a different auth config in OpenAPI. Therefore, we just generate a hash for all of them. We currently don't have any sort of normalization phase, which is where we would go back and eliminate the hash when it's unnecessary. @inklesspen
You'd have to maybe do a quick scan for each auth name to see if there are duplicates first before making hashes. Would be plausible as it's used as an "offline" app.
@cyraid this should be fixed in developer portal soon so you don't have to edit your spec.
Oh, excellent! Thank you for looking into this.
For some reason the securityDefinitions of the openapi.json for firebase auth is generating as:
Why does it generate as "firebase-115e09da"? The developer portal can't detect it's from firebase unless I rename all instances to "firebase".
My @Api is: