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 »

Project setup - client-side

It’s not an easy task these days to set up a client-side application. There is now an explosion of technologies. You should know all these: npm, Node.js, Grunt, Gulp, Bower, Babel, ES2015, TypeScript, Less, Sass, Bootstrap, etc. Yes, of course there are seeds which allow a startup project to be ready to run but almost every one of them gives you something more than you need and when you use this kind of seed you may not know what’s really going on in the building process of your application.…

Read more »

Project setup - server-side

In this post, I am writing about how I set up the server-side of my project - Notifier. The application will consist of REST API and Angular 2 single page application. For now, both parts will be hosted in the same ASP .NET Core application. To create this project I used yo aspnet generator. If you want to find out how I installed these tools check out this post. I entered in terminal command yo aspnet and after this I saw the following output, which gave me a choice of project type.…

Read more »