identity-server

Is it possible to have authentication through IdentityServer4 and authorization in the API, separately?

I recently asked a question in stackoverflow in English, but I may have expressed myself badly and did not get the answer I w ... idate the Policies. This all in Api. If anyone knows a better way to do this access control, suggestions are always welcome.

What is the difference and advantages in using @ @ IDENTITY and OUTPUT INSERTED.ID

I always used @@IDENTITY to get the last identity value entered, as in the example below. create Proc [dbo].[Arquivos] @Id ... th the use of OUTPUT INSERTED.ID. Is there any difference between the two in terms of performance or any difference for use?