A blog about software engineering and beyond!

Supporting Bi-directional text in Html TextArea

A <textarea> is an HTML element used to capture multiline user input. By default, it's direction is either right to left or left to right. But what if we want each paragraph to have it's own direction. This is very useful when the text is a mix of multiple languages. For example: Kurdish and English.


Why public google user content images return 403

When using Google as your OIDC provider you can ask for the picture claim which contains the user's profile picture. It's usually a url like this:


Mocking Authentication and Authorization in ASP.NET Core Integration Tests

ASP.NET Core makes writing integration tests very easy and even fun. One aspect that might be a bit tough to figure out is authentication and authorization. We might want to run integration tests under different users and different roles.