When dotPeek can save your live

This post is a little break in my investigation regarding auth stuff. To write my previous posts I had to debug a bit - and this mainly happened with code that was not mine. Debugging javascript code that is not your own is a piece of cake. You simply write debugger somewhere in the script and that’s it - the execution of this code will stop where you place the word debugger.…

Read more »

How portable is ASP .NET Core 1.0?

In the previous post, I wrote about accessing a protected API controller being authenticated with id tokens obtained from Google. I created my application on Windows in Visual Studio because I needed the helping hand of dotPeek to see what was going on inside code that is not mine. In this post, I’ll write what happened when I ran this application on Ubuntu. After I pulled my project from github, I restored all packages using dnu restore and I ran the application.…

Read more »

Accessing API with token from Google Identity Provider

In previous posts I wrote about getting id tokens and access tokens from Google Identity Provider. To do this I used the library oidc-token-manager. You can read here and here how I prepared config for this library in order to have a working authentication of a user in Google Identity Provider. I stated that my solution isn’t perfect and actually I treated it as a temporary one. In this post, I’ll write about using tokens fetched from Google to access my sample API.…

Read more »

oidc-token-manager library with Google Identity Platform - Part 2

This post is a continuation of the previous one previous one where I started to describe my attempt to use library oidc-token-manager with Google Identity Platform. I was stuck at the moment when this library couldn’t validate a signature for an access token because of the unexpected format of the certs. I found in the documentation that I can provide certs for this library myself in the config and the library wouldn’t make a request for them.…

Read more »

oidc-token-manager library with Google Identity Platform - Part 1

As I stated in this post, I am going to write a series of posts about auth stuff. This post will be the second in this series and I am describing my experiences trying to use the library oidc-token-manager to get tokens from the Google Identity Platform. As I mentioned before, I want to have a single page application which gets tokens from Identity Provider and sends them to REST API to get access to resources.…

Read more »

Setting up the Web client for Google Identity Platform

Recently, I thought about a membership system in my application. I considered many options and during my research I tested many solutions, and gained some knowledge. The results from my initial search didn’t pan out as planned, so I’ll have to share my results in a series of posts, and this post will be part one. One of my ideas was not having a membership system at all and delegating this to a well known identity provider like Google or Facebook.…

Read more »

Publishing to Azure

In the last post, I wrote how I prepared my application to be ready for publishing. In this post, I am going to write about how I published my application to Azure. I believe that my client should see the results of my work as quickly as possible. For my project, I only have an Imaginary Client but imaginary or not they also deserve respect. To publish my application to Azure, I went through following steps.…

Read more »

Before going into production

I have been dealing with my project for a while and I haven’t shown anything to my Imaginary Client. They are starting to think that I haven’t done anything but burn their Imaginary Money. But I have done something. I have written posts, I have done research and I have learned a lot new things. To convince my Imaginary Client that I haven’t wasted their Imaginary Money I should quickly deploy something to production but before I do this I should tune my application a bit.…

Read more »

Angular 2 Confirm Dialog Component

This post is a continuation of the previous one. I must honestly say that while writing this post I felt a bit guilty because I wrote about something which I created in my project but I don’t need yet. I believe in You Aren’t Gonna Need It but while writing this post I violated my belief. I described in this post how I created an Angular 2 confirm dialog component by wrapping a Material Design Lite (MDL) dialog component.…

Read more »

Adding styling to my application

My last post described how I setup Angular 2 on the client-side of my Project. I was a bit surprised how long that post turned out. That’s why I decided to write about how I added styling to my application in another post. This post is just about the research which I did to chose a visual style for my application and about my final choice. I think about the posts in the “Daj się poznać” series as diary for what I have done in my contest project, and that’s I’m writing this post.…

Read more »